diff --git a/app/views/users/likes.html.erb b/app/views/users/likes.html.erb index 74b8107c96..9aed8dbfe1 100644 --- a/app/views/users/likes.html.erb +++ b/app/views/users/likes.html.erb @@ -2,7 +2,7 @@ <% user = user || @user # allow overriding w/ local variable %> -<% if @wikis && @wikis.length > 0 %> +<% if @wikis && @wikis.count > 0 %>

<%= translation('users.likes.wiki_liked_by') %> <%= user.name %>