Browse files

Filters are there, no need to skip sidebar.

  • Loading branch information...
1 parent d013781 commit 19ca065baa3878e460c1b1cec4bd151973822fb8 @Ostrzy Ostrzy committed Jul 29, 2012
Showing with 0 additions and 5 deletions.
  1. +0 −5 lib/active_admin/mongoid/resource.rb
View
5 lib/active_admin/mongoid/resource.rb
@@ -14,14 +14,9 @@ def mongoid_per_page
ActiveAdmin::ResourceController # autoload
class ActiveAdmin::ResourceController
- before_filter :skip_sidebar!
protected
- def skip_sidebar!
- @skip_sidebar = true
- end
-
# Use #desc and #asc for sorting.
def sort_order(chain)
params[:order] ||= active_admin_config.sort_order

0 comments on commit 19ca065

Please sign in to comment.