personal-course/app/views/admin/course_categories/create.js.erb

3 lines
178 B
Plaintext

$("#course_categories tbody").html("<%= j render :partial => '/admin/courses/course_category', :collection => @course_categories %>");
$("#course_category_modal").modal("hide");