文件下载全部统计次数

exceptionHandle
yanxd 12 years ago
parent 0d9453080c
commit 6e15e90253

@ -48,7 +48,7 @@ class AttachmentsController < ApplicationController
end end
def download 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 @attachment.increment_download
end end

Loading…
Cancel
Save