Skip to content
This repository
Browse code

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...
commit 8c40759b10ec6a2be2e12a9c160cb64085d490b4 1 parent 98349f3
David Heinemeier Hansson authored February 20, 2005

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. 4  railties/configs/routes.rb
4  railties/configs/routes.rb
@@ -5,6 +5,10 @@
5 5
   # Here's a sample route:
6 6
   # map.connect 'products/:id', :controller => 'catalog', :action => 'view'
7 7
   # Keep in mind you can assign values other than :controller and :action
  8
+
  9
+  # Allow downloading Web Service WSDL as a file with an extension
  10
+  # instead of a file named 'wsdl'
  11
+  map.connect ':controller/service.wsdl', :action => 'wsdl'
8 12
   
9 13
   # Install the default route as the lowest priority.
10 14
   map.connect ':controller/:action/:id'

0 notes on commit 8c40759

Please sign in to comment.
Something went wrong with that request. Please try again.