mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-24 09:21:12 +00:00
Code cleanup: RuboCop: Style/UnneededInterpolation
git-svn-id: http://svn.redmine.org/redmine/trunk@18289 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
28f37adcd3
commit
bed26b30df
@ -326,7 +326,7 @@ module IssuesHelper
|
||||
items = []
|
||||
%w(author status priority assigned_to category fixed_version start_date due_date).each do |attribute|
|
||||
if issue.disabled_core_fields.grep(/^#{attribute}(_id)?$/).empty?
|
||||
attr_value = "#{issue.send attribute}"
|
||||
attr_value = (issue.send attribute).to_s
|
||||
next if attr_value.blank?
|
||||
if html
|
||||
items << content_tag('strong', "#{l("field_#{attribute}")}: ") + attr_value
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user