Skip to content

Instantly share code, notes, and snippets.

@tdreyno
Created November 16, 2009 19:34
Show Gist options
  • Save tdreyno/236261 to your computer and use it in GitHub Desktop.
Save tdreyno/236261 to your computer and use it in GitHub Desktop.
In your init.rb
This:
with_layout :admin do
page "/admin/*"
end
Or:
page "/admin/*", :layout => :admin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment