remove spaces inside {} of AttachmentsHelper

git-svn-id: http://svn.redmine.org/redmine/trunk@20063 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2020-09-21 13:04:17 +00:00
parent 3db455b048
commit 02c047c336

View File

@@ -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