|
@ -5,7 +5,7 @@ class FlashController < ApplicationController |
|
|
def turbo_notice |
|
|
def turbo_notice |
|
|
flash[:notice] = 'From Turbo' |
|
|
flash[:notice] = 'From Turbo' |
|
|
flash[:alert] = 'Alert Turbo' |
|
|
flash[:alert] = 'Alert Turbo' |
|
|
render turbo_stream: turbo_stream.replace(:notification, partial: 'layouts/notification') |
|
|
|
|
|
|
|
|
render turbo_stream: flash_stream |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
def redirect_with_notice |
|
|
def redirect_with_notice |
|
|