mirror of
https://github.com/redmine/redmine.git
synced 2026-03-02 18:41:26 +01: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user