Created
July 23, 2009 16:06
-
-
Save tmking/153131 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ActionController::Routing::Routes.draw do |map| | |
map.resources :events | |
map.resources :contacts | |
map.connect 'pianofinder/:action', :controller => 'pianofinder' | |
map.connect 'stores/:action', :controller => 'store' | |
map.connect 'events', :controller => 'events' | |
map.connect 'institutional', :controller => 'institutional' | |
map.connect 'contact/', :controller => 'contact' | |
map.connect 'contact/:form_name/:id', :controller => 'contact' | |
map.connect ':action', :controller => 'main' | |
map.connect 'education/:action', :controller => 'main' | |
map.connect 'brands/:id', :controller => 'product' | |
map.connect 'brands/:id/:group', :controller => 'product', :action => 'show' | |
map.root :controller => 'main' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment