Class: Signum::SignalController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Signum::SignalController
- Defined in:
- app/controllers/signum/signal_controller.rb
Instance Method Summary collapse
Instance Method Details
#close ⇒ Object
11 12 13 14 15 |
# File 'app/controllers/signum/signal_controller.rb', line 11 def close signal = Signum::Signal.find(signal_params[:id]) signal.close! head :ok end |