new course redirection fixed

This commit is contained in:
Harry Bomrah 2016-01-12 18:17:58 +08:00
parent 5c4e2857b8
commit 74f390d5c9
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class Admin::CoursesController < OrbitMemberController
def create
course = Course.create(course_params)
redirect_to admin_courses_path
redirect_to params[:referer_url]
end
def show