Class: ActiveError::FaultsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- ActiveError::FaultsController
- Defined in:
- app/controllers/active_error/faults_controller.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
18 19 20 21 22 |
# File 'app/controllers/active_error/faults_controller.rb', line 18 def destroy @fault.destroy redirect_to faults_url, notice: "Exception was resolved" end |
#index ⇒ Object
7 8 9 |
# File 'app/controllers/active_error/faults_controller.rb', line 7 def index @faults = Fault.top_level.includes(:instances) end |