mirror of
https://github.com/redmine/redmine.git
synced 2026-02-21 05:57:49 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user