文件下载全部统计次数
This commit is contained in:
parent
0d9453080c
commit
6e15e90253
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue