allowing-nonsuperusers-to-search-users-by-filters-from-api.patch

David Côté-Tremblay, 2016-10-12 16:56

Download (371 Bytes)

View differences:

app/controllers/users_controller.rb
21
  before_filter :require_admin, :except => :show
21
  before_action :require_admin, :except => [:show, :index]