Add functionality to set default live video URL
Build and Publish Docker Container / build (push) Successful in 6m21s
Build and Publish Docker Container / build (push) Successful in 6m21s
A new method has been added to the `CoursesController` which allows admins to fill default live video URLs for online lectures that don't have one. This feature is accessible via a button on the courses admin page. The routing for this new action has also been set up.
This commit is contained in:
@@ -9,6 +9,7 @@ Rails.application.routes.draw do
|
||||
root to: "courses#index"
|
||||
|
||||
get '/courses/:id/renumber_lectures', to: 'courses#renumber_lectures', as: :course_renumber_lectures
|
||||
get '/courses/:id/fill_in_default_live_video_url', to: 'courses#fill_in_default_live_video_url', as: :course_fill_in_default_live_video_url
|
||||
end
|
||||
|
||||
root controller: :attendance_tracker, action: :index
|
||||
|
||||
Reference in New Issue
Block a user