Patch #24051 » allowing-nonsuperusers-to-search-users-by-filters-from-api.patch
app/controllers/users_controller.rb | ||
---|---|---|
21 |
before_filter :require_admin, :except => :show |
|
21 |
before_action :require_admin, :except => [:show, :index] |
app/controllers/users_controller.rb | ||
---|---|---|
21 |
before_filter :require_admin, :except => :show |
|
21 |
before_action :require_admin, :except => [:show, :index] |