diff --git a/app/controllers/attachments_controller.rb b/app/controllers/attachments_controller.rb index c10834c1124..c55e8de255b 100644 --- a/app/controllers/attachments_controller.rb +++ b/app/controllers/attachments_controller.rb @@ -29,7 +29,7 @@ def show elsif @attachment.is_text? @content = File.new(@attachment.diskfile, "rb").read render :action => 'file' - elsif + else download end end