日志修改
This commit is contained in:
parent
4a25b6357b
commit
85cd113cf9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue