Sha256: a86afe36ee8b81bb6c6485141272a85b77ae5d0e11b6d771bbe5b51979d255e2
Contents?: true
Size: 568 Bytes
Versions: 1
Compression:
Stored size: 568 Bytes
Contents
active_admin_sidebar ==================== easy change sidebar position with activeadmin 1) change sidebar position dynamically with before_filter # app/admin/posts.rb ActiveAdmin.register Post do before_filter :sidebar_left! end # app/admin/comments.rb ActiveAdmin.register Comment do before_filter :sidebar_right! end 2) move sidebar to left within all resource # == Controller Filters # # You can add before, after and around filters to all of your # Active Admin resources from here. # config.before_filter :sidebar_left!
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_admin_sidebar-0.0.1 | README.rdoc |