class AdminController < ApplicationController
current_section :admin
layout :admin
.
.
end
Here are the contents of the layouts/admin.html.haml file:
- content_for :secondary_nav do
= navigation :second_level_admin
= render :file => "layouts/application"
Rails 3 is ignoring the admin layout all-together. Rails 2.3.8 doesn't.
Is there an existing bug in Rails 3?
Bharat
--
Posted via http://www.ruby-forum.com/.
layout "admin"
instead of
layout :admin
Still. No luck.