aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/routing.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_controller/routing.rb')
-rw-r--r--actionpack/lib/action_controller/routing.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/routing.rb b/actionpack/lib/action_controller/routing.rb
index 4a1eda82bf..34041cc0fc 100644
--- a/actionpack/lib/action_controller/routing.rb
+++ b/actionpack/lib/action_controller/routing.rb
@@ -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
#