fix source indent of app/models/wiki_content.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@20208 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2020-10-27 15:18:25 +00:00
parent be743ee1b9
commit 6f3e42289d

View 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