Class: Railbar::TurboStreamFormStatusController

Inherits:
TurboStatusBaseController show all
Defined in:
app/controllers/railbar/turbo_stream_form_status_controller.rb

Instance Method Summary collapse

Instance Method Details

#updateObject



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