mirror of
https://github.com/iritmaximus/brewery.git
synced 2026-10-12 19:13:49 +03:00
upto 3.6
This commit is contained in:
@@ -2,5 +2,6 @@
|
||||
<p>
|
||||
<%= rating.beer.name %>
|
||||
<%= rating.score %>
|
||||
<%= link_to rating.user.username, user_path(rating.user.id) %>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
<% @ratings.each do |rating| %>
|
||||
<li>
|
||||
<%= render rating %>
|
||||
<%= button_to "delete", rating_path(rating.id), method: :delete, form: { data: { turbo_confirm: "Are you sure?" }} %>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user