Merged r24421 from trunk to 6.1-stable (#43661).

git-svn-id: https://svn.redmine.org/redmine/branches/6.1-stable@24425 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2026-02-18 07:55:40 +00:00
parent e613e08a3c
commit c91a237925

View File

@@ -66,10 +66,9 @@ module AttachmentsHelper
end if @paginator
end
def render_api_attachment(attachment, api, options={})
def render_api_attachment(attachment, api, _options={})
api.attachment do
render_api_attachment_attributes(attachment, api)
options.each_key {|key| eval("api.#{key} value")}
end
end