]> source.dussan.org Git - redmine.git/commitdiff
use "do end" instead of {} at app/models/wiki_page.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 6 Nov 2020 13:00:21 +0000 (13:00 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 6 Nov 2020 13:00:21 +0000 (13:00 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20274 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/wiki_page.rb

index 9ac19971f8647ea52a3eb6a03438e74d3b6ccd63..02b7044da2a616807e203f3319a20c16a9e4a7e4 100644 (file)
@@ -328,10 +328,10 @@ class WikiAnnotate
       break unless @lines.detect { |line| line[0].nil? }
       current = current.previous
     end
-    @lines.each { |line|
+    @lines.each do |line|
       line[0] ||= current.version
       # if the last known version is > 1 (eg. history was cleared), we don't know the author
       line[1] ||= current.author if current.version == 1
-    }
+    end
   end
 end