I had a hard time finding any documentation on if or how layout files
worked with nested controllers. After trying a few thing myself (e.g.
adding a admin/users.rhtml file and a admin_users.rhtml file to the
layouts directory) and not seeing the expected results, I decided to
look at the source to see if support for this was included. After
looking around in the Layouts Module I learned that one needs to first
create a "controller" directory inside of layouts and then the natural
admin/users.rhtml file would work.

I'm wondering if it might be easier to eliminate this extraneous
directory? Is there a reason for this current behavior that I am just
unfamiliar with (like Components or something)?

Thanks.

--
DeLynn Berry
[EMAIL PROTECTED]
http://www.delynnberry.com
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to