Commit 5ce8bf009909ff79f63b844c6ddbad9706f5b179

Authored by AntonioTerceiro
1 parent f59d2371

ActionItem117: s/EnvironmentAdminController/AdminController/



git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@907 3f533792-8f58-4932-b0fe-aaf55b0a4547
app/controllers/admin/admin_panel_controller.rb
1 -class AdminPanelController < EnvironmentAdminController 1 +class AdminPanelController < AdminController
2 2
3 before_filter :login_required 3 before_filter :login_required
4 4
app/controllers/admin/categories_controller.rb
1 -class CategoriesController < EnvironmentAdminController 1 +class CategoriesController < AdminController
2 2
3 protect 'manage_environment_categories', :environment 3 protect 'manage_environment_categories', :environment
4 4
app/controllers/admin/edit_template_controller.rb
1 -class EditTemplateController < EnvironmentAdminController 1 +class EditTemplateController < AdminController
2 2
3 design_editor :holder => 'environment', :autosave => true, :block_types => :block_types 3 design_editor :holder => 'environment', :autosave => true, :block_types => :block_types
4 4
app/controllers/admin/features_controller.rb
1 -class FeaturesController < EnvironmentAdminController 1 +class FeaturesController < AdminController
2 protect 'edit_environment_features', :environment 2 protect 'edit_environment_features', :environment
3 3
4 acts_as_environment_admin_controller 4 acts_as_environment_admin_controller
app/controllers/admin/manage_tags_controller.rb
1 # Manage tags stored by the acts-as_taggable_on_steroids plugin by providing an interface to create, destroy, update and list them 1 # Manage tags stored by the acts-as_taggable_on_steroids plugin by providing an interface to create, destroy, update and list them
2 -class ManageTagsController < EnvironmentAdminController 2 +class ManageTagsController < AdminController
3 3
4 # Index redirects to list action without modifing the url 4 # Index redirects to list action without modifing the url
5 def index 5 def index
app/controllers/admin/role_controller.rb
1 -class RoleController < EnvironmentAdminController 1 +class RoleController < AdminController
2 protect 'manage_environment_roles', :environment 2 protect 'manage_environment_roles', :environment
3 3
4 def index 4 def index