Class: ExceptionHunter::ResolvedErrorsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/exception_hunter/resolved_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
9
# File 'app/controllers/exception_hunter/resolved_errors_controller.rb', line 5

def create
  ErrorGroup.find(params[:error_group][:id]).resolved!

  redirect_to errors_path, notice: 'Error resolved successfully'
end