Created
May 22, 2013 18:00
-
-
Save benwoodward/5629540 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ActiveAdmin::Views::Pages::Base < Arbre::HTML::Document | |
def build_page_content | |
build_flash_messages | |
div :id => "active_admin_content", :class => (skip_sidebar? ? "without_sidebar" : "with_sidebar") do | |
build_sidebar unless skip_sidebar? | |
build_main_content_wrapper | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment