diff --git a/app/controllers/my_profile/profile_editor_controller.rb b/app/controllers/my_profile/profile_editor_controller.rb index eee08ba..3ff9af6 100644 --- a/app/controllers/my_profile/profile_editor_controller.rb +++ b/app/controllers/my_profile/profile_editor_controller.rb @@ -3,29 +3,6 @@ class ProfileEditorController < MyProfileController # protect 'edit_profile', :profile, :only => [:index, :edit] helper :profile - - # FIXME - #design_editor :holder => 'profile',:autosave => true, :block_types => :block_types - - - def block_types - %w[ - FavoriteLinksProfile - ListBlock - ProfileInfoBlock - ViewArticle - ] - end - -# FIXME Put other Blocks to works -# def block_types -# { -# 'ListBlock' => _("List of People"), -# 'EnterprisesBlock' => _("List of Enterprises"), -# 'LinkBlock' => _("Link Block"), -# 'RecentDocumentsBlock' => _("Recent documents block") -# } -# end # edits the profile info (posts back) def edit -- libgit2 0.21.2