diff options
Diffstat (limited to 'app/controllers/attachments_controller.rb')
-rw-r--r-- | app/controllers/attachments_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/attachments_controller.rb b/app/controllers/attachments_controller.rb index 8c6b4484e..14025cb86 100644 --- a/app/controllers/attachments_controller.rb +++ b/app/controllers/attachments_controller.rb @@ -43,7 +43,7 @@ class AttachmentsController < ApplicationController elsif @attachment.is_image? render :action => 'image' else - download + render :action => 'other' end } format.api |