Remove broken and unused options handling from AttachmentsHelper#render_api_attachment (#43661).

git-svn-id: https://svn.redmine.org/redmine/trunk@24421 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2026-02-17 07:50:09 +00:00
parent cf831f815f
commit d09d914fa3

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