Remove redundant rescue_from calls.
These are redundant because ApplicationController rescues these exceptions already.
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
module Maintenance
|
||||
module User
|
||||
class DeletionsController < ApplicationController
|
||||
rescue_from UserDeletion::ValidationError, :with => :rescue_exception
|
||||
|
||||
def show
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user