创建课程后跳转URL报错

This commit is contained in:
sw 2015-04-15 08:50:29 +08:00
parent 81cbb76d78
commit ee68828132
1 changed files with 1 additions and 1 deletions

View File

@ -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')