mirror of
https://github.com/redmine/redmine.git
synced 2026-01-17 13:03:01 +01: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user