diff --git a/app/views/admin/universal_tables/show.html.erb b/app/views/admin/universal_tables/show.html.erb index 08352c9..2f6d084 100644 --- a/app/views/admin/universal_tables/show.html.erb +++ b/app/views/admin/universal_tables/show.html.erb @@ -27,32 +27,35 @@
- <% can_edit = can_edit_or_delete?(@entries.first.u_table) if !(@entries.first.nil?) %> + <% can_edit = can_edit_or_delete?(@table) %> <% @entries.each do |entry| %>