Thanks Matt! Now, when I go to /contacts/attending I get "Template is Missing" error, telling me that contacts/attending.erb is missing in app/views. How would I go about defining the attendees page - does this go in a file in app/views/contacts, or application.dryml? Can it be dryml, or does it need to be erb ?
--jeremy On May 9, 11:02 am, Matt Jones <[email protected]> wrote: > On May 9, 2010, at 10:48 AM, Jeremy Savoy wrote: > > > Thanks Matt --- I continue to be amazed at how simple Hobo makes > > certain things! > > > Assuming that I don't actually have an event model (there is only one > > type of event, everything about my app revolves around the event), > > would I just use something like this: > > > def attending > > hobo_index :scope => attending > > end > > > map.attending '/attending', :controller => 'contacts', :action => > > 'attending' > > If there's not an event model in play, then this simplifies to: > > index_action :attending, :scope => :attending > > and nothing needs to be added to the routes file. Thus the need to > make that work better for the _for case. > > --Matt Jones > > -- > You received this message because you are subscribed to the Google Groups > "Hobo Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/hobousers?hl=en. -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
