mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-24 20:41:44 +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:
parent
72d622dc9f
commit
e2ed50f971
@ -81,12 +81,12 @@ class AutoCompletesController < ApplicationController
|
|||||||
end
|
end
|
||||||
|
|
||||||
def format_wiki_pages_json(wiki_pages)
|
def format_wiki_pages_json(wiki_pages)
|
||||||
wiki_pages.map {|wiki_page|
|
wiki_pages.map do |wiki_page|
|
||||||
{
|
{
|
||||||
'id' => wiki_page.id,
|
'id' => wiki_page.id,
|
||||||
'label' => wiki_page.title.to_s.truncate(255),
|
'label' => wiki_page.title.to_s.truncate(255),
|
||||||
'value' => wiki_page.title
|
'value' => wiki_page.title
|
||||||
}
|
}
|
||||||
}
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user