Commit dbe1051ef22e3da7651029efdca8413199c8e721

Authored by MoisesMachado
1 parent 239b105f

ActionItem129: fixed the helper


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1916 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/helpers/assets_helper.rb
@@ -2,7 +2,7 @@ module AssetsHelper @@ -2,7 +2,7 @@ module AssetsHelper
2 2
3 def generate_assets_menu() 3 def generate_assets_menu()
4 4
5 - options = { :controller => 'search', :action => 'index', :category_path => (@category ? @category.explode_path : []) } 5 + options = { :controller => 'search', :action => 'assets', :category_path => (@category ? @category.explode_path : []) }
6 [ 6 [
7 [ options.merge(:asset => 'articles'), "icon-menu-articles", _('Articles') ], 7 [ options.merge(:asset => 'articles'), "icon-menu-articles", _('Articles') ],
8 [ options.merge(:asset => 'people'), "icon-menu-people", _('People') ], 8 [ options.merge(:asset => 'people'), "icon-menu-people", _('People') ],