Class: ExceptionHunter::IgnoredErrorsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/exception_hunter/ignored_errors_controller.rb

Instance Method Summary collapse

Methods included from Authorization

#authenticate_admin_user_class, #redirect_to_login, #underscored_admin_user_class

Instance Method Details

#createObject



5
6
7
8
# File 'app/controllers/exception_hunter/ignored_errors_controller.rb', line 5

def create
  error_group.ignored!
  redirect_to errors_path, notice: 'Error ignored successfully'
end

#reopenObject



10
11
12
13
# File 'app/controllers/exception_hunter/ignored_errors_controller.rb', line 10

def reopen
  error_group.active!
  redirect_to errors_path, notice: 'Error re-opened successfully'
end