Commit 5a085981f7e778e6c8fd26f85e1a89748dbfe989

Authored by MoisesMachado
1 parent 98ac072e

ActionItem129: removed ProductSearchBlock from the list of profiles block


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1938 3f533792-8f58-4932-b0fe-aaf55b0a4547
app/controllers/my_profile/profile_design_controller.rb
... ... @@ -5,7 +5,7 @@ class ProfileDesignController < BoxOrganizerController
5 5 protect 'edit_profile_design', :profile
6 6  
7 7 def available_blocks
8   - blocks = [ ArticleBlock, TagsBlock, RecentDocumentsBlock, ProfileInfoBlock, ProductSearchBlock ]
  8 + blocks = [ ArticleBlock, TagsBlock, RecentDocumentsBlock, ProfileInfoBlock ]
9 9  
10 10 # blocks exclusive for organizations
11 11 if profile.has_members?
... ...