Commit 318195ebf8e41614be4d0f8834d97fdffe05c5f5

Authored by AntonioTerceiro
1 parent ba87743f

ActionItem172: removing unused stuff


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1510 3f533792-8f58-4932-b0fe-aaf55b0a4547
app/controllers/my_profile/profile_editor_controller.rb
@@ -3,29 +3,6 @@ class ProfileEditorController < MyProfileController @@ -3,29 +3,6 @@ class ProfileEditorController < MyProfileController
3 # protect 'edit_profile', :profile, :only => [:index, :edit] 3 # protect 'edit_profile', :profile, :only => [:index, :edit]
4 4
5 helper :profile 5 helper :profile
6 -  
7 - # FIXME  
8 - #design_editor :holder => 'profile',:autosave => true, :block_types => :block_types  
9 -  
10 -  
11 - def block_types  
12 - %w[  
13 - FavoriteLinksProfile  
14 - ListBlock  
15 - ProfileInfoBlock  
16 - ViewArticle  
17 - ]  
18 - end  
19 -  
20 -# FIXME Put other Blocks to works  
21 -# def block_types  
22 -# {  
23 -# 'ListBlock' => _("List of People"),  
24 -# 'EnterprisesBlock' => _("List of Enterprises"),  
25 -# 'LinkBlock' => _("Link Block"),  
26 -# 'RecentDocumentsBlock' => _("Recent documents block")  
27 -# }  
28 -# end  
29 6
30 # edits the profile info (posts back) 7 # edits the profile info (posts back)
31 def edit 8 def edit