mirror of
https://github.com/redmine/redmine.git
synced 2025-11-13 16:56:00 +01:00
Merged r16285 (#24199).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16294 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -197,7 +197,7 @@ class AttachmentsController < ApplicationController
|
||||
end
|
||||
|
||||
def disposition(attachment)
|
||||
if attachment.is_image? || attachment.is_pdf?
|
||||
if attachment.is_pdf?
|
||||
'inline'
|
||||
else
|
||||
'attachment'
|
||||
|
||||
Reference in New Issue
Block a user