]> source.dussan.org Git - redmine.git/commitdiff
fix source indent of app/models/wiki_content.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 27 Oct 2020 15:18:25 +0000 (15:18 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 27 Oct 2020 15:18:25 +0000 (15:18 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20208 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/wiki_content.rb

index e64affff935456c82944f6857fd259354dcd24ee..d26cac530e9169528c33cd5b06acd3e5cba6f786 100644 (file)
@@ -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