From b1999be5a7efd67e2602c37ed898aa8433661863 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 15 Feb 2005 01:45:35 +0000 Subject: A hopefully more successful attempt at the Routing branch merge git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/configs/routes.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 railties/configs/routes.rb (limited to 'railties/configs/routes.rb') diff --git a/railties/configs/routes.rb b/railties/configs/routes.rb new file mode 100644 index 0000000000..0ff18338d0 --- /dev/null +++ b/railties/configs/routes.rb @@ -0,0 +1,11 @@ +ActionController::Routing::Routes.draw do |map| + # Add your own custom routes here. + # The priority is based upon order of creation: first created -> highest priority. + + # Here's a sample route: + # map.connect 'products/:id', :controller => 'catalog', :action => 'view' + # Keep in mind you can assign values other than :controller and :action + + # Install the default route as the lowest priority. + map.connect ':controller/:action/:id' +end -- cgit v1.2.3