diff options
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/096_add_commit_access_permission.rb | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/db/migrate/096_add_commit_access_permission.rb b/db/migrate/096_add_commit_access_permission.rb index f73af2c0c..f88e0c992 100644 --- a/db/migrate/096_add_commit_access_permission.rb +++ b/db/migrate/096_add_commit_access_permission.rb @@ -1,14 +1,13 @@ class AddCommitAccessPermission < ActiveRecord::Migration - def self.up - Role.find(:all).select { |r| not r.builtin? }.each do |r| - r.add_permission!(:commit_access) - end + Role.find(:all).select { |r| not r.builtin? }.each do |r| + r.add_permission!(:commit_access) + end end def self.down - Role.find(:all).select { |r| not r.builtin? }.each do |r| - r.remove_permission!(:commit_access) - end + Role.find(:all).select { |r| not r.builtin? }.each do |r| + r.remove_permission!(:commit_access) + end end end |