Commit 4ec0b488e696c1d7abcb74830be9380f79df38a6

Authored by AntonioTerceiro
1 parent 546ee527

ActionItem8: moving / rule up in routes.rb



git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@50 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
config/routes.rb
@@ -9,16 +9,16 @@ ActionController::Routing::Routes.draw do |map| @@ -9,16 +9,16 @@ ActionController::Routing::Routes.draw do |map|
9 # map.purchase 'products/:id/purchase', :controller => 'catalog', :action => 'purchase' 9 # map.purchase 'products/:id/purchase', :controller => 'catalog', :action => 'purchase'
10 # This route can be invoked with purchase_url(:id => product.id) 10 # This route can be invoked with purchase_url(:id => product.id)
11 11
  12 + # You can have the root of your site routed by hooking up ''
  13 + # -- just remember to delete public/index.html.
  14 + map.connect '', :controller => "home"
  15 +
12 # administrative tasks for a virtual community 16 # administrative tasks for a virtual community
13 map.connect 'admin/:controller/:action/:id' 17 map.connect 'admin/:controller/:action/:id'
14 18
15 # profile customization for profiles 19 # profile customization for profiles
16 map.connect 'customize/:profile/:controller/:action/:id' 20 map.connect 'customize/:profile/:controller/:action/:id'
17 21
18 - # You can have the root of your site routed by hooking up ''  
19 - # -- just remember to delete public/index.html.  
20 - map.connect '', :controller => "home"  
21 -  
22 # Allow downloading Web Service WSDL as a file with an extension 22 # Allow downloading Web Service WSDL as a file with an extension
23 # instead of a file named 'wsdl' 23 # instead of a file named 'wsdl'
24 map.connect ':controller/service.wsdl', :action => 'wsdl' 24 map.connect ':controller/service.wsdl', :action => 'wsdl'