Skip to content

Commit 1a8c65a

Browse files
committed
fix source indent of app/models/wiki_content_version.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20038 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 parent 6919646 commit 1a8c65a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

app/models/wiki_content_version.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ class WikiContentVersion < ActiveRecord::Base
4747
def text=(plain)
4848
case Setting.wiki_compression
4949
when 'gzip'
50-
begin
51-
self.data = Zlib::Deflate.deflate(plain, Zlib::BEST_COMPRESSION)
52-
self.compression = 'gzip'
53-
rescue
54-
self.data = plain
55-
self.compression = ''
56-
end
50+
begin
51+
self.data = Zlib::Deflate.deflate(plain, Zlib::BEST_COMPRESSION)
52+
self.compression = 'gzip'
53+
rescue
54+
self.data = plain
55+
self.compression = ''
56+
end
5757
else
5858
self.data = plain
5959
self.compression = ''

0 commit comments

Comments
 (0)