Greetings all, I have an application that has both a user front end and an administrative back end (admin is set up as a namespace in Rails 2.3.4). I would like to have a different default layout for each section of the site.
Currently I am using the layouts/application.html.erb layout for the whole site. How can I tell Rails that when it is in the admin namespace (ie /admin/ users or /admin/roles) to use a different layout for all controllers in the admin namespace? I don't want to have to set the layout on each controller in the admin namespace. Thanks in advance, Mike --~--~---------~--~----~------------~-------~--~----~ SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby -~----------~----~----~----~------~----~------~--~---
