]> source.dussan.org Git - redmine.git/commitdiff
Fix RuboCop offense Style/BlockDelimiters due to r20755 (#33820).
authorGo MAEDA <maeda@farend.jp>
Sat, 27 Feb 2021 08:15:08 +0000 (08:15 +0000)
committerGo MAEDA <maeda@farend.jp>
Sat, 27 Feb 2021 08:15:08 +0000 (08:15 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20757 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/auto_completes_controller.rb

index f4b0f1fd26614cedba9c6cac99f6e135e401552b..d4f85be1ddafede2a0b3eb906a5246bc54176c8e 100644 (file)
@@ -81,12 +81,12 @@ class AutoCompletesController < ApplicationController
   end
 
   def format_wiki_pages_json(wiki_pages)
-    wiki_pages.map {|wiki_page|
+    wiki_pages.map do |wiki_page|
       {
         'id' => wiki_page.id,
         'label' => wiki_page.title.to_s.truncate(255),
         'value' => wiki_page.title
       }
-    }
+    end
   end
 end