--- src/app/controllers/application_controller.rb | 2 -- src/app/controllers/catalog_entries_controller.rb | 4 ---- src/app/controllers/catalogs_controller.rb | 4 ---- .../controllers/hardware_profiles_controller.rb | 4 ---- src/app/controllers/pool_families_controller.rb | 4 ---- .../controllers/provider_accounts_controller.rb | 4 ---- src/app/controllers/providers_controller.rb | 4 ---- src/app/controllers/realm_mappings_controller.rb | 4 ---- src/app/controllers/realms_controller.rb | 4 ---- src/app/controllers/roles_controller.rb | 4 ---- src/app/controllers/settings_controller.rb | 4 ---- src/app/controllers/users_controller.rb | 4 ---- 12 files changed, 0 insertions(+), 46 deletions(-)
diff --git a/src/app/controllers/application_controller.rb b/src/app/controllers/application_controller.rb index 77b694d..f093849 100644 --- a/src/app/controllers/application_controller.rb +++ b/src/app/controllers/application_controller.rb @@ -28,8 +28,6 @@ class ApplicationController < ActionController::Base helper_method :current_user_session, :current_user, :filter_view? before_filter :read_breadcrumbs
- def top_section; end - # General error handlers, must be in order from least specific # to most specific rescue_from Exception, :with => :handle_general_error diff --git a/src/app/controllers/catalog_entries_controller.rb b/src/app/controllers/catalog_entries_controller.rb index 4432691..fb4f53a 100644 --- a/src/app/controllers/catalog_entries_controller.rb +++ b/src/app/controllers/catalog_entries_controller.rb @@ -1,10 +1,6 @@ class CatalogEntriesController < ApplicationController before_filter :require_user
- def top_section - :administer - end - def index clear_breadcrumbs save_breadcrumb(catalog_entries_path(:viewstate => @viewstate ? @viewstate.id : nil)) diff --git a/src/app/controllers/catalogs_controller.rb b/src/app/controllers/catalogs_controller.rb index e6c2e44..ccde912 100644 --- a/src/app/controllers/catalogs_controller.rb +++ b/src/app/controllers/catalogs_controller.rb @@ -1,10 +1,6 @@ class CatalogsController < ApplicationController before_filter :require_user
- def top_section - :administer - end - def index clear_breadcrumbs @catalogs = Catalog.list_for_user(current_user, Privilege::VIEW) diff --git a/src/app/controllers/hardware_profiles_controller.rb b/src/app/controllers/hardware_profiles_controller.rb index 5f4f9d2..f93d617 100644 --- a/src/app/controllers/hardware_profiles_controller.rb +++ b/src/app/controllers/hardware_profiles_controller.rb @@ -6,10 +6,6 @@ class HardwareProfilesController < ApplicationController before_filter :setup_new_hardware_profile, :only => [:new] before_filter :setup_hardware_profile, :only => [:new, :create, :edit, :update]
- def top_section - :administer - end - def index clear_breadcrumbs save_breadcrumb(hardware_profiles_path) diff --git a/src/app/controllers/pool_families_controller.rb b/src/app/controllers/pool_families_controller.rb index fd87caf..8af128a 100644 --- a/src/app/controllers/pool_families_controller.rb +++ b/src/app/controllers/pool_families_controller.rb @@ -6,10 +6,6 @@ class PoolFamiliesController < ApplicationController before_filter :load_pool_families, :only =>[:show] before_filter :load_tab_captions_and_details_tab, :only => [:show]
- def top_section - :administer - end - def index clear_breadcrumbs save_breadcrumb(pool_families_path) diff --git a/src/app/controllers/provider_accounts_controller.rb b/src/app/controllers/provider_accounts_controller.rb index d3789f8..b1d7f0a 100644 --- a/src/app/controllers/provider_accounts_controller.rb +++ b/src/app/controllers/provider_accounts_controller.rb @@ -3,10 +3,6 @@ class ProviderAccountsController < ApplicationController before_filter :load_accounts, :only => [:index,:show] before_filter :set_view_vars, :only => [:index,:show]
- def top_section - :administer - end - def index clear_breadcrumbs save_breadcrumb(provider_accounts_path) diff --git a/src/app/controllers/providers_controller.rb b/src/app/controllers/providers_controller.rb index 2971e21..3b8f7ea 100644 --- a/src/app/controllers/providers_controller.rb +++ b/src/app/controllers/providers_controller.rb @@ -2,10 +2,6 @@ class ProvidersController < ApplicationController before_filter :require_user before_filter :set_view_envs, :only => [:show, :index]
- def top_section - :administer - end - def index clear_breadcrumbs save_breadcrumb(providers_path) diff --git a/src/app/controllers/realm_mappings_controller.rb b/src/app/controllers/realm_mappings_controller.rb index 18ddce2..0af86d0 100644 --- a/src/app/controllers/realm_mappings_controller.rb +++ b/src/app/controllers/realm_mappings_controller.rb @@ -1,10 +1,6 @@ class RealmMappingsController < ApplicationController before_filter :require_user
- def top_section - :administer - end - def new require_privilege(Privilege::CREATE, Realm) @realm_target = RealmBackendTarget.new(:frontend_realm_id => params[:frontend_realm_id], :realm_or_provider_type => params[:realm_or_provider_type]) diff --git a/src/app/controllers/realms_controller.rb b/src/app/controllers/realms_controller.rb index c042d8f..19bd2a9 100644 --- a/src/app/controllers/realms_controller.rb +++ b/src/app/controllers/realms_controller.rb @@ -2,10 +2,6 @@ class RealmsController < ApplicationController before_filter :require_user before_filter :load_realms, :only =>[:index, :show]
- def top_section - :administer - end - def index clear_breadcrumbs save_breadcrumb(realms_path) diff --git a/src/app/controllers/roles_controller.rb b/src/app/controllers/roles_controller.rb index 920a690..63257dc 100644 --- a/src/app/controllers/roles_controller.rb +++ b/src/app/controllers/roles_controller.rb @@ -3,10 +3,6 @@ class RolesController < ApplicationController before_filter :load_roles, :only => [:show] before_filter :load_params_and_headers, :only => [:index]
- def top_section - :administer - end - def index clear_breadcrumbs save_breadcrumb(roles_path) diff --git a/src/app/controllers/settings_controller.rb b/src/app/controllers/settings_controller.rb index d245713..487d316 100644 --- a/src/app/controllers/settings_controller.rb +++ b/src/app/controllers/settings_controller.rb @@ -6,10 +6,6 @@ class SettingsController < ApplicationController save_breadcrumb(settings_path(:viewstate => viewstate_id)) end
- def top_section - :administer - end - # Settings MetaData Keys SELF_SERVICE_DEFAULT_QUOTA = "self_service_default_quota" KEYS = [SELF_SERVICE_DEFAULT_QUOTA] diff --git a/src/app/controllers/users_controller.rb b/src/app/controllers/users_controller.rb index bdc24d0..3fc836a 100644 --- a/src/app/controllers/users_controller.rb +++ b/src/app/controllers/users_controller.rb @@ -2,10 +2,6 @@ class UsersController < ApplicationController before_filter :require_user, :except => [:new, :create] before_filter :load_users, :only => [:show]
- def top_section - :administer - end - def index require_privilege(Privilege::VIEW, User) clear_breadcrumbs