summaryrefslogtreecommitdiffstats
path: root/app/helpers/issues_helper.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-06-20 11:57:24 +0000
committerGo MAEDA <maeda@farend.jp>2019-06-20 11:57:24 +0000
commitbed26b30dfdb4e270487f54545fbaa464861e804 (patch)
tree6d025e1067a5eb68780bd99f6cc4fa6bc025c02f /app/helpers/issues_helper.rb
parent28f37adcd36c5b19665096c9934ab8787dd25f64 (diff)
downloadredmine-bed26b30dfdb4e270487f54545fbaa464861e804.tar.gz
redmine-bed26b30dfdb4e270487f54545fbaa464861e804.zip
Code cleanup: RuboCop: Style/UnneededInterpolation
git-svn-id: http://svn.redmine.org/redmine/trunk@18289 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/issues_helper.rb')
-rw-r--r--app/helpers/issues_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index 76eded3d5..f96a3a783 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -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