Class: ActiveError::FaultsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/active_error/faults_controller.rb

Instance Method Summary collapse

Instance Method Details

#destroyObject



14
15
16
17
18
# File 'app/controllers/active_error/faults_controller.rb', line 14

def destroy
  @fault.destroy

  redirect_to faults_url, notice: "Exception was resolved"
end

#indexObject



7
8
9
# File 'app/controllers/active_error/faults_controller.rb', line 7

def index
  @faults = Fault.top_level
end

#showObject



11
12
# File 'app/controllers/active_error/faults_controller.rb', line 11

def show
end