Commit d3e18f7a20ff1340e6a5dda8f4524a56edf22317
1 parent
3efd083f
Exists in
master
and in
1 other branch
default to showing the login page if you go the API site
Showing
1 changed file
with
0 additions
and
2 deletions
Show diff stats
config/routes.rb
@@ -9,8 +9,6 @@ ActionController::Routing::Routes.draw do |map| | @@ -9,8 +9,6 @@ ActionController::Routing::Routes.draw do |map| | ||
9 | map.resources :algorithms | 9 | map.resources :algorithms |
10 | map.connect "/questions/:question_id/prompts/:id/vote/:index", :controller => 'prompts', :action => 'vote' | 10 | map.connect "/questions/:question_id/prompts/:id/vote/:index", :controller => 'prompts', :action => 'vote' |
11 | 11 | ||
12 | - map.root :controller => "home" | ||
13 | - | ||
14 | 12 | ||
15 | 13 | ||
16 | map.learn '/learn', :controller => 'home', :action => 'learn' | 14 | map.learn '/learn', :controller => 'home', :action => 'learn' |