Class: Releaf::Responders::ConfirmDestroyResponder
- Inherits:
-
ActionController::Responder
- Object
- ActionController::Responder
- Releaf::Responders::ConfirmDestroyResponder
- Defined in:
- app/lib/releaf/responders/confirm_destroy_responder.rb
Instance Method Summary collapse
Instance Method Details
#to_html ⇒ Object
5 6 7 8 9 10 11 |
# File 'app/lib/releaf/responders/confirm_destroy_responder.rb', line 5 def to_html if [:destroyable] super else render 'refused_destroy' end end |