//depot/projects/wiki/config/routes.rb#1 – add change 171 (text) ·revision history
| 1 | ActionController::Routing::Routes.draw do |map| |
| 2 | # the wiki is the whole app |
| 3 | map.connect '', :controller => 'wiki', :action => 'index' |
| 4 | map.connect 'wiki/:action/:name', :controller => 'wiki' |
| 5 | |
| 6 | # Allow downloading Web Service WSDL as a file with an extension |
| 7 | # instead of a file named 'wsdl' |
| 8 | map.connect ':controller/service.wsdl', :action => 'wsdl' |
| 9 | |
| 10 | # Install the default route as the lowest priority. |
| 11 | map.connect ':controller/:action/:id' |
| 12 | end |