How to give ActiveAdmin its own application layout? — Rails newbie
问题 It's probably a dead simple question. Right now it uses the default application layout file. How can I create one just for AdminAdmin in order keep it separate from the one used on the main site? 回答1: Read layouts and rendering guide, there is paragraph about :layout option. You can specify layout, or set it to false, to render without layout at all. render :layout => 'special_layout' render :layout => false 回答2: If my memory does not fail me again !! ;-) this rails cast talk about this. But