Commit 9eeb3c94 authored by Zac Wood's avatar Zac Wood

forgot a route

parent 02b56664
Pipeline #5119 passed with stages
in 25 minutes and 55 seconds
class SchedulesController < ApplicationController
def index; end
end
\ No newline at end of file
......@@ -4,16 +4,11 @@ Rails.application.routes.draw do
get '/', to: 'home#index', as: 'home'
get 'search', to: 'search#index', as: 'search'
get 'sessions/update', as: 'update_session'
get 'sessions/cart'
get 'sessions/add_bulk'
resources :courses, only: [:show]
resources :course_sections, only: [:index, :show]
resources :instructors, only: [:index, :show]
resources :instructors, only: [:show]
get 'schedule', to: 'schedules#show', as: 'schedule'
get 'schedule/events', to: 'schedules#events'
get 'schedule/view', to: 'schedules#view', as: 'view_schedule'
scope :api, module: 'api' do # Register /api routes
resources :semesters, only: [:index], as: 'api_semesters'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment