Commit 9c3cf81682fa06be0e1bdd188b3298e92208b2d8

Authored by AntonioTerceiro
1 parent b3053c4b

ActionItem154: removing duplicated block


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1351 3f533792-8f58-4932-b0fe-aaf55b0a4547
app/controllers/my_profile/profile_design_controller.rb
@@ -3,7 +3,7 @@ class ProfileDesignController < BoxOrganizerController @@ -3,7 +3,7 @@ class ProfileDesignController < BoxOrganizerController
3 needs_profile 3 needs_profile
4 4
5 def available_blocks 5 def available_blocks
6 - blocks = [ ArticleBlock, TagsBlock, RecentDocumentsBlock, ProfileInfoBlock, TagsBlock ] 6 + blocks = [ ArticleBlock, TagsBlock, RecentDocumentsBlock, ProfileInfoBlock ]
7 7
8 if profile.has_members? 8 if profile.has_members?
9 blocks << MembersBlock 9 blocks << MembersBlock