> If I create this layout file manually, how will rails link it to the
> views? Which URL refer to this layout?

You can specify which layout to use in your controller.

layout 'main'

That would use app/views/layouts/main.html.erb as the layout.  You can
specify a default global layout by placing this in the application
controller.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to