Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
schedules
Commits
9c8e9e4e
Commit
9c8e9e4e
authored
Apr 13, 2018
by
Zac Wood
Browse files
Removed route to homepage on API
parent
96340126
Changes
1
Hide whitespace changes
Inline
Side-by-side
schedules/config/routes.rb
View file @
9c8e9e4e
...
...
@@ -8,6 +8,5 @@ Rails.application.routes.draw do
get
'search'
,
controller:
'search'
,
action:
'index'
end
get
'home/index'
root
'home#index'
# Set the root to be the home index
root
'courses#index'
# Set the root to be the courses API endpoint
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment