mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
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:
@@ -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]
|
||||
|
||||
@@ -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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user