Flash error message when favoriting already favorited person
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user