Commit 47420959 authored by Zac Wood's avatar Zac Wood
Browse files

Merge branch 'v2-ui' into 'dev-v2'

V2 ui

See merge request !25
parents 894575fb 9a163119
Pipeline #2947 passed with stage
in 2 minutes and 14 seconds
# Registers all routes for the app.
Rails.application.routes.draw do
get 'search', to: 'search#index'
get 'search/update', to: 'search#update'
scope :api do # Register /api routes
resources :courses, only: [:index, :show]
resources :course_sections, only: [:index]
......@@ -7,5 +10,6 @@ Rails.application.routes.draw do
apipie # sets up API docs
get '/', to: redirect('/api') # redirect the root url to API docs
root to: 'home#index'
This diff is collapsed.
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