Commit b24a88c0f67d9390ea07fa612e2e02cc8e43b315

Authored by MoisesMachado
1 parent 1679da16

ActionItem111: bug fixed


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@744 3f533792-8f58-4932-b0fe-aaf55b0a4547
app/controllers/environment_admin/role_controller.rb
1 1 class RoleController < EnvironmentAdminController
2   - protect [:index, :show, :new, :create, :edit, :update, :destroy], 'manage_environment_roles', :enviroment
  2 + protect [:index, :show, :new, :create, :edit, :update, :destroy], 'manage_environment_roles', :environment
3 3  
4 4 def index
5 5 @roles = Role.find(:all)
... ...