Class: Uhoh::SimulateController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Uhoh::SimulateController
- Defined in:
- app/controllers/uhoh/simulate_controller.rb
Instance Method Summary collapse
Instance Method Details
#failure ⇒ Object
5 6 7 8 |
# File 'app/controllers/uhoh/simulate_controller.rb', line 5 def failure # raise "Simulating an exception" redirect_to uhoh_engine.root_url end |