From 6f3e42289db5da4ce95fca015a5c238be18182d1 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 27 Oct 2020 15:18:25 +0000 Subject: [PATCH] fix source indent of app/models/wiki_content.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20208 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/wiki_content.rb | 12 ++++++------ 1 file 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