From fc273ce5dc93f66e3580613840a5f7afc62ece2f Mon Sep 17 00:00:00 2001 From: Arthur Del Esposte Date: Fri, 30 Oct 2015 15:41:09 -0200 Subject: [PATCH] Change blocks references to search controller --- src/noosfero-spb/software_communities/views/blocks/categories_software.html.erb | 4 ++-- src/noosfero-spb/software_communities/views/blocks/search_catalog.html.erb | 4 ++-- src/noosfero-spb/software_communities/views/blocks/software_highlights.html.erb | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/noosfero-spb/software_communities/views/blocks/categories_software.html.erb b/src/noosfero-spb/software_communities/views/blocks/categories_software.html.erb index 6e914de..95416f0 100644 --- a/src/noosfero-spb/software_communities/views/blocks/categories_software.html.erb +++ b/src/noosfero-spb/software_communities/views/blocks/categories_software.html.erb @@ -10,13 +10,13 @@ <% categories.each do |category| %> <% unless category.software_infos.count < 1 %> -
  • <%= link_to _("#{category.name}") + " (#{category.software_infos.count})", {:controller => :search, :action => :software_infos, :selected_categories_id => [category.id]} %>
  • +
  • <%= link_to _("#{category.name}") + " (#{category.software_infos.count})", {:controller => :search, :action => :softwares, :selected_categories_id => [category.id]} %>
  • <% end %> <% end %> diff --git a/src/noosfero-spb/software_communities/views/blocks/search_catalog.html.erb b/src/noosfero-spb/software_communities/views/blocks/search_catalog.html.erb index bdbded1..8e03e43 100644 --- a/src/noosfero-spb/software_communities/views/blocks/search_catalog.html.erb +++ b/src/noosfero-spb/software_communities/views/blocks/search_catalog.html.erb @@ -1,11 +1,11 @@ diff --git a/src/noosfero-spb/software_communities/views/blocks/software_highlights.html.erb b/src/noosfero-spb/software_communities/views/blocks/software_highlights.html.erb index fc1e650..85aaa42 100644 --- a/src/noosfero-spb/software_communities/views/blocks/software_highlights.html.erb +++ b/src/noosfero-spb/software_communities/views/blocks/software_highlights.html.erb @@ -15,6 +15,6 @@

    - <%= link_to _('See all'), {:controller => :search, :action => :software_infos, :only_softwares => softwares} %> + <%= link_to _('See all'), {:controller => :search, :action => :softwares, :only_softwares => softwares} %>
    -- libgit2 0.21.2