Hello!

Is it just me or are layouts not namespaced automatically?

For example, using the typical namespaced admin section, I have:

apps/controllers/admin/users_controller.rb  # for example
apps/views/admin/users/index.html.erb

I then added this:
apps/views/admin/layouts/application.html.erb

But it won't use that layout... it's looking for:
apps/views/layouts/application.html.erb

Why are views namespaced but layouts aren't? There are lots of
"solutions" to this, I know, but I'm trying to understand why Rails
won't look at "apps/views/admin/layouts/" for layouts within the admin
namespace?

Or maybe I'm missing something?

Thanks,

-Danimal
--~--~---------~--~----~------------~-------~--~----~
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