Files
metasploit-gs/data/msfweb/config/routes.rb
T
lmh 76e577adae Added the main controller (msf). Added it to routes.
git-svn-id: file:///home/svn/framework3/trunk@3948 4d416f70-5f16-0410-b530-b9f4589650da
2006-09-25 01:06:20 +00:00

11 lines
349 B
Ruby

ActionController::Routing::Routes.draw do |map|
map.connect '', :controller => "msf"
# Allow downloading Web Service WSDL as a file with an extension
# instead of a file named 'wsdl'
map.connect ':controller/service.wsdl', :action => 'wsdl'
# Install the default route as the lowest priority.
map.connect ':controller/:action/:id'
end