[refs #818] add list to index collection
This commit is contained in:
parent
88ab5a9a4f
commit
b256422aff
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue