adds pending filter to admin/users

This commit is contained in:
Juanjo Bazán
2015-09-06 21:58:34 +02:00
parent e618c12344
commit 9104242eed
5 changed files with 17 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
class Admin::UsersController < Admin::BaseController
has_filters %w{all with_confirmed_hide}, only: :index
has_filters %w{without_confirmed_hide all with_confirmed_hide}, only: :index
before_action :load_user, only: [:confirm_hide, :restore]