老师删除作业保报错
This commit is contained in:
parent
66c02f0667
commit
79f4e286cf
|
@ -3,6 +3,7 @@
|
||||||
class HomeworkCommon < ActiveRecord::Base
|
class HomeworkCommon < ActiveRecord::Base
|
||||||
# attr_accessible :name, :user_id, :description, :publish_time, :end_time, :homework_type, :late_penalty, :course_id
|
# attr_accessible :name, :user_id, :description, :publish_time, :end_time, :homework_type, :late_penalty, :course_id
|
||||||
include Redmine::SafeAttributes
|
include Redmine::SafeAttributes
|
||||||
|
include ApplicationHelper
|
||||||
|
|
||||||
belongs_to :course
|
belongs_to :course
|
||||||
belongs_to :user
|
belongs_to :user
|
||||||
|
|
Loading…
Reference in New Issue