diff options
author | Go MAEDA <maeda@farend.jp> | 2021-02-27 08:15:08 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2021-02-27 08:15:08 +0000 |
commit | e2ed50f9718979caa1658d5a67e130ef92fd0d66 (patch) | |
tree | 7f6eaa78b56a24656095dc6322e557397e860eaa | |
parent | 72d622dc9f38f9a429aee7d86667426cf57337ea (diff) | |
download | redmine-e2ed50f9718979caa1658d5a67e130ef92fd0d66.tar.gz redmine-e2ed50f9718979caa1658d5a67e130ef92fd0d66.zip |
Fix RuboCop offense Style/BlockDelimiters due to r20755 (#33820).
git-svn-id: http://svn.redmine.org/redmine/trunk@20757 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/controllers/auto_completes_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/auto_completes_controller.rb b/app/controllers/auto_completes_controller.rb index f4b0f1fd2..d4f85be1d 100644 --- a/app/controllers/auto_completes_controller.rb +++ b/app/controllers/auto_completes_controller.rb @@ -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 |