README.rdoc in active_admin_sidebar-0.0.1 vs README.rdoc in active_admin_sidebar-0.0.2

- old
+ new

@@ -6,25 +6,33 @@ 1) change sidebar position dynamically with before_filter # app/admin/posts.rb ActiveAdmin.register Post do - before_filter :sidebar_left! + before_filter :left_sidebar!, :only=>[:show] end # app/admin/comments.rb ActiveAdmin.register Comment do - before_filter :sidebar_right! + before_filter :right_sidebar! end -2) move sidebar to left within all resource +2) move sidebar to left within all resource (config/initializers/active_admin.rb) # == Controller Filters # # You can add before, after and around filters to all of your # Active Admin resources from here. # - config.before_filter :sidebar_left! + config.before_filter :left_sidebar! + + + +Add including of css file + + @import "active_admin_sidebar"; + +to the app/assets/stylesheets/active_admin.css.scss