summaryrefslogtreecommitdiffstats
path: root/app/models/wiki_content.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-10-27 15:18:25 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-10-27 15:18:25 +0000
commit6f3e42289db5da4ce95fca015a5c238be18182d1 (patch)
treec6058e7f6e026c61372ebe868d8365c8d0be3465 /app/models/wiki_content.rb
parentbe743ee1b9a8ab1f5c5045670510f541466fa5f9 (diff)
downloadredmine-6f3e42289db5da4ce95fca015a5c238be18182d1.tar.gz
redmine-6f3e42289db5da4ce95fca015a5c238be18182d1.zip
fix source indent of app/models/wiki_content.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20208 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/wiki_content.rb')
-rw-r--r--app/models/wiki_content.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/models/wiki_content.rb b/app/models/wiki_content.rb
index e64affff9..d26cac530 100644
--- a/app/models/wiki_content.rb
+++ b/app/models/wiki_content.rb
@@ -70,12 +70,12 @@ class WikiContent < ActiveRecord::Base
def revert_to!(version)
if version.wiki_content_id == id
update_columns(
- :author_id => version.author_id,
- :text => version.text,
- :comments => version.comments,
- :version => version.version,
- :updated_on => version.updated_on
- ) && reload
+ :author_id => version.author_id,
+ :text => version.text,
+ :comments => version.comments,
+ :version => version.version,
+ :updated_on => version.updated_on
+ ) && reload
end
end