文件下载全部统计次数

This commit is contained in:
yanxd 2014-01-18 10:57:09 +08:00
parent 0d9453080c
commit 6e15e90253
1 changed files with 1 additions and 1 deletions

View File

@ -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