mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
12 lines
451 B
Ruby
12 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
|