This commit is contained in:
Aaro Koivukangas
2023-08-10 16:31:24 +03:00
parent 185c61bc6e
commit 7c44a632a3
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -2,5 +2,6 @@
<p>
<%= rating.beer.name %>
<%= rating.score %>
<%= link_to rating.user.username, user_path(rating.user.id) %>
</p>
</div>
-1
View File
@@ -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 %>