Browse Source

fix source indent of app/models/wiki_content.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@20208 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.2.0
Toshi MARUYAMA 3 years ago
parent
commit
6f3e42289d
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      app/models/wiki_content.rb

+ 6
- 6
app/models/wiki_content.rb 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


Loading…
Cancel
Save