Class: ExceptionHunter::ResolvedErrorsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- ExceptionHunter::ResolvedErrorsController
- 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
#create ⇒ Object
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 |