diff --git a/app/controllers/words_controller.rb b/app/controllers/words_controller.rb index e6d1d9117..ed350ab51 100644 --- a/app/controllers/words_controller.rb +++ b/app/controllers/words_controller.rb @@ -276,7 +276,7 @@ class WordsController < ApplicationController ids = params[:asset_id].split(',') update_kindeditor_assets_owner ids,feedback[:id],OwnerTypeHelper::JOURNALSFORMESSAGE end - @homework_common.update_attributes(:updated_at => Time.now) + @homework_common.update_column(:updated_at, Time.now) update_course_activity(@homework_common.class,@homework_common.id) update_user_activity(@homework_common.class,@homework_common.id) update_org_activity(@homework_common.class,@homework_common.id) diff --git a/public/assets/wechat/activities.html b/public/assets/wechat/activities.html index 1642eb159..d3f3d9459 100644 --- a/public/assets/wechat/activities.html +++ b/public/assets/wechat/activities.html @@ -189,7 +189,7 @@ -
+