diff --git a/app/views/links/index.html.erb b/app/views/links/index.html.erb index 7e5fd77..9548a81 100644 --- a/app/views/links/index.html.erb +++ b/app/views/links/index.html.erb @@ -7,7 +7,7 @@ <%= render partial: 'links/links_list', locals: { links: @links}%>
- <% tag_cloud Link.tag_counts, %w{s m l} do |tag, css_class| %> + <% tag_cloud current_user.owned_tags, %w{s m l} do |tag, css_class| %> <%= link_to tag.name, links_path(tag: tag.name), class: css_class %> <% end %>