From 49c83e28cc058126d0ca01900335d32c09a45509 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Tue, 13 Nov 2007 22:22:19 +0000 Subject: [PATCH] ActionItem117: s/ProfileAdmin/MyProfile/ --- app/controllers/myprofile/cms_controller.rb | 2 +- app/controllers/myprofile/enterprise_editor_controller.rb | 2 +- app/controllers/myprofile/enterprise_validation_controller.rb | 2 +- app/controllers/myprofile/membership_editor_controller.rb | 2 +- app/controllers/myprofile/profile_editor_controller.rb | 2 +- app/controllers/myprofile/profile_members_controller.rb | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/controllers/myprofile/cms_controller.rb b/app/controllers/myprofile/cms_controller.rb index 3ee52f1..bba3127 100644 --- a/app/controllers/myprofile/cms_controller.rb +++ b/app/controllers/myprofile/cms_controller.rb @@ -1,4 +1,4 @@ -class CmsController < ProfileAdminController +class CmsController < MyProfileController define_option :page_class, Article diff --git a/app/controllers/myprofile/enterprise_editor_controller.rb b/app/controllers/myprofile/enterprise_editor_controller.rb index d568d9a..aa7febb 100644 --- a/app/controllers/myprofile/enterprise_editor_controller.rb +++ b/app/controllers/myprofile/enterprise_editor_controller.rb @@ -1,4 +1,4 @@ -class EnterpriseEditorController < ProfileAdminController +class EnterpriseEditorController < MyProfileController protect 'edit_profile', :profile, :user, :except => :destroy protect 'destroy_profile', :profile, :only => :destroy diff --git a/app/controllers/myprofile/enterprise_validation_controller.rb b/app/controllers/myprofile/enterprise_validation_controller.rb index e543c55..c30698a 100644 --- a/app/controllers/myprofile/enterprise_validation_controller.rb +++ b/app/controllers/myprofile/enterprise_validation_controller.rb @@ -1,4 +1,4 @@ -class EnterpriseValidationController < ProfileAdminController +class EnterpriseValidationController < MyProfileController def index @pending_validations = profile.pending_validations diff --git a/app/controllers/myprofile/membership_editor_controller.rb b/app/controllers/myprofile/membership_editor_controller.rb index da527b4..985fed2 100644 --- a/app/controllers/myprofile/membership_editor_controller.rb +++ b/app/controllers/myprofile/membership_editor_controller.rb @@ -1,4 +1,4 @@ -class MembershipEditorController < ProfileAdminController +class MembershipEditorController < MyProfileController before_filter :login_required diff --git a/app/controllers/myprofile/profile_editor_controller.rb b/app/controllers/myprofile/profile_editor_controller.rb index bf4d02c..53ff0ee 100644 --- a/app/controllers/myprofile/profile_editor_controller.rb +++ b/app/controllers/myprofile/profile_editor_controller.rb @@ -1,4 +1,4 @@ -class ProfileEditorController < ProfileAdminController +class ProfileEditorController < MyProfileController #protect 'edit_profile', :profile, only => [:index, :edit] diff --git a/app/controllers/myprofile/profile_members_controller.rb b/app/controllers/myprofile/profile_members_controller.rb index d277c32..5e9afec 100644 --- a/app/controllers/myprofile/profile_members_controller.rb +++ b/app/controllers/myprofile/profile_members_controller.rb @@ -1,4 +1,4 @@ -class ProfileMembersController < ProfileAdminController +class ProfileMembersController < MyProfileController protect 'manage_memberships', :profile def index -- libgit2 0.21.2