Merge branch 'dev_hjq' of http://repository.trustie.net/xianbo/trustie2 into dev_hjq
This commit is contained in:
commit
dbc0688213
|
@ -73,7 +73,7 @@ class Attachment < ActiveRecord::Base
|
||||||
cattr_accessor :thumbnails_storage_path
|
cattr_accessor :thumbnails_storage_path
|
||||||
@@thumbnails_storage_path = File.join(Rails.root, "tmp", "thumbnails")
|
@@thumbnails_storage_path = File.join(Rails.root, "tmp", "thumbnails")
|
||||||
|
|
||||||
before_save :files_to_final_location,:act_as_course_activity
|
before_save :files_to_final_location,:act_as_course_activity,:act_as_forge_activity
|
||||||
after_create :office_conver, :be_user_score,:act_as_forge_activity
|
after_create :office_conver, :be_user_score,:act_as_forge_activity
|
||||||
after_update :office_conver, :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
|
||||||
|
|
Loading…
Reference in New Issue