Commit 4dd8af2e6795f995448308a16b2ceb61056893e2

Authored by MoisesMachado
1 parent 15ba22f3

ActionItem514: added asset params to cache of menu


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2234 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/layouts/application.rhtml
@@ -94,7 +94,7 @@ @@ -94,7 +94,7 @@
94 { :controller=>"home" }, 94 { :controller=>"home" },
95 :id=>"menu_link_to_envhome", 95 :id=>"menu_link_to_envhome",
96 :title=>@environment.name %> 96 :title=>@environment.name %>
97 - <% cache(:controller => 'public', :action => 'categories_menu') do %> 97 + <% cache(:controller => 'public', :action => 'categories_menu', :asset => params[:asset]) do %>
98 <%= render :file => 'shared/categories_menu' %> 98 <%= render :file => 'shared/categories_menu' %>
99 <% end %> 99 <% end %>
100 </div><!-- id='navigation_bar' --> 100 </div><!-- id='navigation_bar' -->