summaryrefslogtreecommitdiffstats
path: root/db/migrate/096_add_commit_access_permission.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-11-09 08:11:36 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-11-09 08:11:36 +0000
commitcedeee2e16d21a7bc6e9ad387eb21734deaf374a (patch)
tree6783bcc89e37c9bcf058dcbbbf7b88b14a9b85ce /db/migrate/096_add_commit_access_permission.rb
parent67ac04e49afcd8014bcc490946cd51e978669fa3 (diff)
downloadredmine-cedeee2e16d21a7bc6e9ad387eb21734deaf374a.tar.gz
redmine-cedeee2e16d21a7bc6e9ad387eb21734deaf374a.zip
replace tabs to spaces at db/migrate/096_add_commit_access_permission.rb (#9510)
Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7757 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/096_add_commit_access_permission.rb')
-rw-r--r--db/migrate/096_add_commit_access_permission.rb13
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