Fix #5310: "Details" on disapproval dropdown leads to a broken url.

This commit is contained in:
evazion
2022-10-24 01:58:28 -05:00
parent 0d835983ce
commit 5b19e544cf
3 changed files with 28 additions and 4 deletions

View File

@@ -117,10 +117,8 @@
<% end %>
<% end %>
<% if policy(event).can_see_creator? %>
<% menu.item do %>
<%= link_to "Details", event.model %>
<% end %>
<% menu.item do %>
<%= link_to "Details", event.model %>
<% end %>
<% end %>
<% end %>