Commit 1cba99e546fabb42bf0197ef406fb06a26331797

Authored by AntonioTerceiro
1 parent cce24f73

ActionItem41: calling self.system instead of system to avoid confusion with Kernel#system


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1322 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
vendor/plugins/access_control/lib/role.rb
... ... @@ -30,7 +30,7 @@ class Role < ActiveRecord::Base
30 30  
31 31 before_destroy :check_for_system_defined_role
32 32 def check_for_system_defined_role
33   - ! system
  33 + ! self.system
34 34 end
35 35  
36 36 protected
... ...