From 6e15e90253114956bc8b36fec32e075ee6fedfae Mon Sep 17 00:00:00 2001 From: yanxd Date: Sat, 18 Jan 2014 10:57:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8B=E8=BD=BD=E5=85=A8?= =?UTF-8?q?=E9=83=A8=E7=BB=9F=E8=AE=A1=E6=AC=A1=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/attachments_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/attachments_controller.rb b/app/controllers/attachments_controller.rb index 3fa059863..976772b80 100644 --- a/app/controllers/attachments_controller.rb +++ b/app/controllers/attachments_controller.rb @@ -48,7 +48,7 @@ class AttachmentsController < ApplicationController end def download - if @attachment.container.is_a?(Version) || @attachment.container.is_a?(Project) + if true || @attachment.container.is_a?(Version) || @attachment.container.is_a?(Project) @attachment.increment_download end