forked from fixin.me/fixin.me
Render flash messages for html and turbo_stream
This commit is contained in:
4
app/views/layouts/application.turbo_stream.erb
Normal file
4
app/views/layouts/application.turbo_stream.erb
Normal file
@@ -0,0 +1,4 @@
|
||||
<%= turbo_stream.update :flashes do %>
|
||||
<%= render_flash_messages %>
|
||||
<% end %>
|
||||
<%= yield %>
|
||||
Reference in New Issue
Block a user