]> source.dussan.org Git - redmine.git/commitdiff
remove spaces inside {} of AttachmentsHelper
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 21 Sep 2020 13:04:17 +0000 (13:04 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 21 Sep 2020 13:04:17 +0000 (13:04 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20063 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/attachments_helper.rb

index e496958bf526951da0fab0200e7bd5fe9adee8ba..1cfcad94568468c55acc4aa6c0ff1c66484ea21b 100644 (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