|
|
@ -73,7 +73,7 @@ class Attachment < ActiveRecord::Base
|
|
|
|
|
|
|
|
|
|
|
|
before_save :files_to_final_location
|
|
|
|
before_save :files_to_final_location
|
|
|
|
after_create :office_conver, :be_user_score,:act_as_forge_activity# user_score
|
|
|
|
after_create :office_conver, :be_user_score,:act_as_forge_activity# user_score
|
|
|
|
after_update :be_user_score
|
|
|
|
after_update :office_conver, :be_user_score
|
|
|
|
after_destroy :delete_from_disk,:down_user_score
|
|
|
|
after_destroy :delete_from_disk,:down_user_score
|
|
|
|
|
|
|
|
|
|
|
|
# add by nwb
|
|
|
|
# add by nwb
|
|
|
|