Modified code to remove 'status' field from lecture's table and added 'event_uuid' field. Also refined the 'start_time' field in recordings' table to handle datetime instead of strings. Further, made minor changes in scraping jobs and seeding logic. Implemented these changes to allow lectures to be associated with calendar events and streamlined various fields.
12 lines
229 B
Ruby
12 lines
229 B
Ruby
Rails.application.routes.draw do
|
|
namespace :admin do
|
|
resources :attendances
|
|
resources :courses
|
|
resources :lectures
|
|
|
|
root to: "attendances#index"
|
|
end
|
|
|
|
root controller: :attendance_tracker, action: :index
|
|
end
|