From 4ec0b488e696c1d7abcb74830be9380f79df38a6 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Mon, 9 Jul 2007 20:45:41 +0000 Subject: [PATCH] ActionItem8: moving / rule up in routes.rb --- config/routes.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index 3a818ac..cb68772 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -9,16 +9,16 @@ ActionController::Routing::Routes.draw do |map| # map.purchase 'products/:id/purchase', :controller => 'catalog', :action => 'purchase' # This route can be invoked with purchase_url(:id => product.id) + # You can have the root of your site routed by hooking up '' + # -- just remember to delete public/index.html. + map.connect '', :controller => "home" + # administrative tasks for a virtual community map.connect 'admin/:controller/:action/:id' # profile customization for profiles map.connect 'customize/:profile/:controller/:action/:id' - # You can have the root of your site routed by hooking up '' - # -- just remember to delete public/index.html. - map.connect '', :controller => "home" - # Allow downloading Web Service WSDL as a file with an extension # instead of a file named 'wsdl' map.connect ':controller/service.wsdl', :action => 'wsdl' -- libgit2 0.21.2