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 [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