创建课程后跳转URL报错
This commit is contained in:
parent
81cbb76d78
commit
ee68828132
|
@ -429,7 +429,7 @@ class CoursesController < ApplicationController
|
|||
else
|
||||
respond_to do |format|
|
||||
format.html {
|
||||
render :layout => 'base_courses'
|
||||
# render :layout => 'base_courses'
|
||||
flash[:notice] = l(:notice_successful_create)
|
||||
if params[:continue]
|
||||
redirect_to new_course_url(attrs, :course => '0')
|
||||
|
|
Loading…
Reference in New Issue