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