Permalink
Browse files

Allow downloading of WSDL for an AWS controller as a proper file #674

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@710 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 98349f3 commit 8c40759b10ec6a2be2e12a9c160cb64085d490b4 @dhh dhh committed Feb 20, 2005
Showing with 4 additions and 0 deletions.
  1. +4 −0 railties/configs/routes.rb
@@ -5,6 +5,10 @@
# 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
+
+ # 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'

0 comments on commit 8c40759

Please sign in to comment.