From 903ff15ad8c1b513aa7fe8f48afdf7f605fbee11 Mon Sep 17 00:00:00 2001 From: Luciano Prestes Cavalcanti Date: Wed, 3 Dec 2014 11:25:38 -0200 Subject: [PATCH] Fix links of categories block --- views/blocks/categories_software.html.erb | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/views/blocks/categories_software.html.erb b/views/blocks/categories_software.html.erb index 62857cd..95d0151 100644 --- a/views/blocks/categories_software.html.erb +++ b/views/blocks/categories_software.html.erb @@ -1,24 +1,24 @@
- -
-

<%= _("Categories:") %>

-
    +
    +

    <%= _("Categories:") %>

    +
      - <% Category.all.each do |category| %> - <% if category.name != "Software" %> -
    • <%= link_to category.name + " (#{category.software_infos.count})", "#" %>
    • - <% end %> - <% end %> -
    -
    + <% Category.all.each do |category| %> + <% if category.name != "Software" %> +
  • <%= link_to category.name + " (#{category.software_infos.count})", {:controller => :search, :action => :software_infos, :filter => category.id} %>
  • + <% end %> + <% end %> +
+
\ No newline at end of file -- libgit2 0.21.2