The following code works great in Rails 2.3.8
layouts/application.html.haml
...
.secondary-navigation
= yield :secondary_nav
.clear
...
layouts/admin.html.haml
- content_for :secondary_nav do
= navigation :second_level_admin
= render :file => "layouts/application"
As can be seen, I have admin layout nested within application layout.
Rails 3 just plain refuses to render the admin layout. Please help.
--
Posted via http://www.ruby-forum.com/.
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.