mirror of
https://github.com/redmine/redmine.git
synced 2024-07-24 22:24:51 +02:00
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:
parent
be743ee1b9
commit
6f3e42289d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user