|
|
|
@ -120,7 +120,7 @@ class AttachmentsController < ApplicationController
|
|
|
|
|
if params[:action] == "download_history"
|
|
|
|
|
UserActions.create(:action_id => id, :action_type => "AttachmentHistory", :user_id => User.current.id) unless id.nil?
|
|
|
|
|
elsif params[:action] == "download"
|
|
|
|
|
UserActions.create(:action_id => id, :action_type => "Attachment", :user_id => User.current.id)
|
|
|
|
|
UserActions.create(:action_id => id, :action_type => "Attachment", :user_id => User.current.id) unless id.nil?
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|