Class: Releaf::Responders::DestroyResponder
- Inherits:
-
ActionController::Responder
- Object
- ActionController::Responder
- Releaf::Responders::DestroyResponder
- Defined in:
- app/lib/releaf/responders/destroy_responder.rb
Instance Method Summary collapse
Instance Method Details
#to_html ⇒ Object
5 6 7 8 |
# File 'app/lib/releaf/responders/destroy_responder.rb', line 5 def to_html render_notification(@resource.destroyed?, failure_message_key: 'cant destroy, because relations exists') super end |