Fix syntax error in code example for routing documentation. #8377. [norbert]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Marcel Molina
2007-05-26 20:29:05 +00:00
parent dcaa074abf
commit 404a357013
2 changed files with 4 additions and 3 deletions

View File

@@ -1,5 +1,7 @@
*SVN*
* Fix syntax error in code example for routing documentation. #8377. [norbert]
* Routing: respond with 405 Method Not Allowed status when the route path matches but the HTTP method does not. #6953 [Josh Peek, defeated, Dan Kubb, Coda Hale]
* Add support for assert_select_rjs with :show and :hide. #7780 [dchelimsky]

View File

@@ -188,11 +188,10 @@ module ActionController
# map.geocode 'geocode/:postalcode', :controller => 'geocode',
# :action => 'show', :postalcode => /\d{5}(-\d{4})?/
#
# or more formally:
# or, more formally:
#
# map.geocode 'geocode/:postalcode', :controller => 'geocode',
# :action => 'show',
# :requirements { :postalcode => /\d{5}(-\d{4})?/ }
# :action => 'show', :requirements => { :postalcode => /\d{5}(-\d{4})?/ }
#
# == Route globbing
#