Remove redundant rescue_from calls.
These are redundant because ApplicationController rescues these exceptions already.
This commit is contained in:
@@ -2,7 +2,6 @@ class UserNameChangeRequestsController < ApplicationController
|
||||
before_filter :member_only, :only => [:index, :show]
|
||||
before_filter :gold_only, :only => [:new, :create]
|
||||
before_filter :admin_only, :only => [:approve, :reject]
|
||||
rescue_from User::PrivilegeError, :with => :access_denied
|
||||
respond_to :html, :json, :xml
|
||||
|
||||
def new
|
||||
|
||||
Reference in New Issue
Block a user