1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-31 20:59:38 +00:00

Fix RuboCop offense Style/BlockDelimiters due to r20755 (#33820).

git-svn-id: http://svn.redmine.org/redmine/trunk@20757 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2021-02-27 08:15:08 +00:00
parent 72d622dc9f
commit e2ed50f971

View 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