日志修改

This commit is contained in:
cxt 2016-08-12 10:20:58 +08:00
parent 4a25b6357b
commit 85cd113cf9
1 changed files with 1 additions and 3 deletions

View File

@ -506,9 +506,7 @@ class Course < ActiveRecord::Base
end
def log_infor
if self.syllabus_id.nil?
Rails.logger.info "##########################################################course's syllabus_id is null."
end
Rails.logger.info "##########################################################course's syllabus_id is #{self.syllabus_id}."
end
end