From d3e18f7a20ff1340e6a5dda8f4524a56edf22317 Mon Sep 17 00:00:00 2001 From: Pius Uzamere Date: Fri, 4 Dec 2009 09:46:50 -0500 Subject: [PATCH] default to showing the login page if you go the API site --- config/routes.rb | 2 -- 1 file changed, 0 insertions(+), 2 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index 7405914..a4e377f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -9,8 +9,6 @@ ActionController::Routing::Routes.draw do |map| map.resources :algorithms map.connect "/questions/:question_id/prompts/:id/vote/:index", :controller => 'prompts', :action => 'vote' - map.root :controller => "home" - map.learn '/learn', :controller => 'home', :action => 'learn' -- libgit2 0.21.2