Class: Railbar::TurboStreamFormStatusController
- Inherits:
-
TurboStatusBaseController
- Object
- ActionController::Base
- TurboStatusBaseController
- Railbar::TurboStreamFormStatusController
- Defined in:
- app/controllers/railbar/turbo_stream_form_status_controller.rb
Instance Method Summary collapse
Instance Method Details
#update ⇒ Object
4 5 6 |
# File 'app/controllers/railbar/turbo_stream_form_status_controller.rb', line 4 def update render turbo_stream: turbo_stream.replace("railbar-turbo-stream-post-status", partial: "railbar/turbo_stream_form_status_ok") end |