new course redirection fixed
This commit is contained in:
parent
5c4e2857b8
commit
74f390d5c9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue