diff --git a/app/views/statistics/_statistics_list.html.erb b/app/views/statistics/_statistics_list.html.erb index 08bb363cd..98e95e415 100644 --- a/app/views/statistics/_statistics_list.html.erb +++ b/app/views/statistics/_statistics_list.html.erb @@ -1,7 +1,7 @@ <% @statistics.each do |statistic| %>
- <% if User.current.id == statistic.user_id || User.current.admin %> + <% if User.current.id == statistic.user_id || User.current.admin? %>