Commit 85d884f23ff5039d6c6e5ee4d5ed41859f07ddea

Authored by AntonioTerceiro
1 parent 43e7acab

ActionItem409: removing product categories from the select_categories widget



git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1865 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
app/helpers/application_helper.rb
... ... @@ -517,6 +517,7 @@ module ApplicationHelper
517 517 Effect.toggle( div, "slide", { link:link, div:div, afterFinish:end } )
518 518 }')
519 519 environment.top_level_categories.each do |toplevel|
  520 + next if toplevel.is_a?(ProductCategory)
520 521 toplevel.map_traversal do |cat|
521 522 if cat.top_level?
522 523 result << '<div class="categorie_box">'
... ...