mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
b1999be5a7
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
11 lines
451 B
Ruby
11 lines
451 B
Ruby
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
|