[refs #818] add list to index collection

This commit is contained in:
Alexander Machehin 2013-01-15 18:50:28 +06:00
parent 88ab5a9a4f
commit b256422aff
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
class Admin::UsersController < Admin::BaseController class Admin::UsersController < Admin::BaseController
include AvatarHelper include AvatarHelper
prepend_before_filter :find_user prepend_before_filter :find_user
load_and_authorize_resource :collection => :system load_and_authorize_resource :collection => [:system, :list]
def index def index
@filter = params[:filter] || 'all' @filter = params[:filter] || 'all'