Commit 379a6d95 authored by maeda's avatar maeda

Code cleanup: RuboCop: Style/UnneededInterpolation

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 468b1ae1
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment