mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-30 04:09:38 +00:00
use "do end" instead of {} at AutoCompletesController
git-svn-id: http://svn.redmine.org/redmine/trunk@20291 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
8b4e4e76a4
commit
0fca1c6066
@ -53,12 +53,12 @@ class AutoCompletesController < ApplicationController
|
||||
end
|
||||
|
||||
def format_issues_json(issues)
|
||||
issues.map {|issue|
|
||||
issues.map do |issue|
|
||||
{
|
||||
'id' => issue.id,
|
||||
'label' => "#{issue.tracker} ##{issue.id}: #{issue.subject.to_s.truncate(255)}",
|
||||
'value' => issue.id
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user