低版本的谷歌浏览器无法修改课程密码
This commit is contained in:
parent
070af9ad73
commit
c6d203d186
|
@ -252,6 +252,7 @@ class CoursesService
|
||||||
def edit_course(params,course,current_user)
|
def edit_course(params,course,current_user)
|
||||||
course.send(:safe_attributes=, params[:course], current_user)
|
course.send(:safe_attributes=, params[:course], current_user)
|
||||||
#course.safe_attributes = params[:course]
|
#course.safe_attributes = params[:course]
|
||||||
|
course.password = params[:course][:password]
|
||||||
course.time = params[:time]
|
course.time = params[:time]
|
||||||
course.term = params[:term]
|
course.term = params[:term]
|
||||||
course.end_time = params[:end_time]
|
course.end_time = params[:end_time]
|
||||||
|
|
Loading…
Reference in New Issue