Flash error message when favoriting already favorited person

This commit is contained in:
2020-05-07 11:58:29 +02:00
parent d111a371ae
commit 0314b75b24
2 changed files with 14 additions and 6 deletions
+3 -2
View File
@@ -38,8 +38,9 @@
</nav>
<main>
<p class="notice"><%= notice %></p>
<p class="alert"><%= alert %></p>
<% flash.each do |type, msg| %>
<%= msg %>
<% end %>
<%= yield %>
</main>