diff options
author | azul <azul@riseup.net> | 2016-08-19 10:40:37 +0000 |
---|---|---|
committer | azul <azul@riseup.net> | 2016-08-19 10:40:37 +0000 |
commit | 67302ca1986a66a6d278c34216ad33f4c65a018e (patch) | |
tree | d55e4c4dd3a6612e04e0fd40e736c8b6d4342762 /app/controllers/users_controller.rb | |
parent | 44910c0909f28791fe6725fa76301e5111ece3b4 (diff) | |
parent | fbad882075e745ab7afbe5f89c67544fb3c607c3 (diff) |
Merge branch 'bugfix/send-406-on-unsupported-format' into 'develop'
Bugfix/send 406 on unsupported format
See merge request !5
Diffstat (limited to 'app/controllers/users_controller.rb')
-rw-r--r-- | app/controllers/users_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 4d198b9..0a0f551 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -7,7 +7,7 @@ class UsersController < ApplicationController before_filter :require_login before_filter :require_admin, :only => [:index, :deactivate, :enable] - before_filter :fetch_user, :only => [:show, :edit, :destroy, :deactivate, :enable] + before_filter :fetch_user, :except => [:index] respond_to :html |