From 67ac04e49afcd8014bcc490946cd51e978669fa3 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 9 Nov 2011 08:11:13 +0000 Subject: [PATCH] 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 --- ...9_add_delete_wiki_pages_attachments_permission.rb | 12 ++++++------ 1 file 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