Where do I place my layout so I don't have to specify one explicitly? I got this line of code:
<% form_for([:backend, @form]) do |f| %> >From here: http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#M001740 But still get the error undefined method `form_path' for #<ActionView::Base:0x1f25d83> On Sun, Sep 21, 2008 at 1:23 AM, Erol Fornoles <[EMAIL PROTECTED] > wrote: > > You'll need to append _url or _path for the url helpers to work. ;) > > Layouts are namespace agnostic. Specifying layout "backend" in your > Backend::ElementsController, for example, would load "app/views/ > layouts/backend.erb" as that controller's layout. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

