mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-01 20:48:23 +08:00
Fix dooble flash_alerts load
This commit is contained in:
parent
f8afc92606
commit
d07e04e511
1 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,9 @@
|
|||
<% content_for :content do %>
|
||||
<div class="container <%= yield :container_class %>">
|
||||
<% if user_signed_in? %>
|
||||
<%= render partial: 'shared/flash_alerts',
|
||||
locals: { flash: flash, notice: notice, alert: alert } %>
|
||||
<% end %>
|
||||
<%= yield %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue