Module: Para::Ext::CustomTurboStreamActions

Defined in:
lib/para/ext/turbo_stream.rb

Instance Method Summary collapse

Instance Method Details

#display_flash(id = 'para_admin_flash_messages') ⇒ Object



4
5
6
# File 'lib/para/ext/turbo_stream.rb', line 4

def display_flash(id = 'para_admin_flash_messages')
  replace(id, partial: 'para/admin/shared/flash')
end