diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-11-09 08:11:13 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-11-09 08:11:13 +0000 |
commit | 67ac04e49afcd8014bcc490946cd51e978669fa3 (patch) | |
tree | 24fa668e6ccb07f4904dadbbdbc0ea38e9cccde4 /db | |
parent | 4b38902ef7730fe080047ded4313e57188659954 (diff) | |
download | redmine-67ac04e49afcd8014bcc490946cd51e978669fa3.tar.gz redmine-67ac04e49afcd8014bcc490946cd51e978669fa3.zip |
replace tabs to spaces at db/migrate/099_add_delete_wiki_pages_attachments_permission.rb (#9510)
Contributed by Igor Zubkov.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7756 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/099_add_delete_wiki_pages_attachments_permission.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/db/migrate/099_add_delete_wiki_pages_attachments_permission.rb b/db/migrate/099_add_delete_wiki_pages_attachments_permission.rb index 1ff888f3c..9fd986a3c 100644 --- a/db/migrate/099_add_delete_wiki_pages_attachments_permission.rb +++ b/db/migrate/099_add_delete_wiki_pages_attachments_permission.rb @@ -1,13 +1,13 @@ class AddDeleteWikiPagesAttachmentsPermission < ActiveRecord::Migration def self.up - Role.find(:all).each do |r| - r.add_permission!(:delete_wiki_pages_attachments) if r.has_permission?(:edit_wiki_pages) - end + Role.find(:all).each do |r| + r.add_permission!(:delete_wiki_pages_attachments) if r.has_permission?(:edit_wiki_pages) + end end def self.down - Role.find(:all).each do |r| - r.remove_permission!(:delete_wiki_pages_attachments) - end + Role.find(:all).each do |r| + r.remove_permission!(:delete_wiki_pages_attachments) + end end end |