- 'app/helpers/settings_helper.rb'
- 'app/helpers/users_helper.rb'
-# Cop supports --auto-correct.
-Layout/MultilineBlockLayout:
- Exclude:
- - 'app/controllers/auto_completes_controller.rb'
-
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: symmetrical, new_line, same_line
end
def format_issues_json(issues)
- issues.map {|issue| {
- 'id' => issue.id,
- 'label' => "#{issue.tracker} ##{issue.id}: #{issue.subject.to_s.truncate(60)}",
- 'value' => issue.id
+ issues.map {|issue|
+ {
+ 'id' => issue.id,
+ 'label' => "#{issue.tracker} ##{issue.id}: #{issue.subject.to_s.truncate(60)}",
+ 'value' => issue.id
}
}
end