From: Toshi MARUYAMA Date: Mon, 21 Sep 2020 13:04:17 +0000 (+0000) Subject: remove spaces inside {} of AttachmentsHelper X-Git-Tag: 4.2.0~752 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=02c047c3364eaa7ea841a03d749d2fd3274a1a97;p=redmine.git remove spaces inside {} of AttachmentsHelper git-svn-id: http://svn.redmine.org/redmine/trunk@20063 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/helpers/attachments_helper.rb b/app/helpers/attachments_helper.rb index e496958bf..1cfcad945 100644 --- a/app/helpers/attachments_helper.rb +++ b/app/helpers/attachments_helper.rb @@ -70,7 +70,7 @@ module AttachmentsHelper def render_api_attachment(attachment, api, options={}) api.attachment do render_api_attachment_attributes(attachment, api) - options.each { |key, value| eval("api.#{key} value") } + options.each {|key, value| eval("api.#{key} value")} end end