aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Daer <jeremydaer@gmail.com>2015-09-20 13:00:14 -0700
committerJeremy Daer <jeremydaer@gmail.com>2015-09-20 13:00:14 -0700
commita9f83b66e9b83ad8d1fdd3cb29e84190410feb01 (patch)
tree4a1cd5692df4ca2d3029b1dcc6c892825dd837bd
parent2395b02144cf11f9c9c2429c2085e557b6b342fe (diff)
parentab0f846e20c9c4e0d048ae8f2169b2f2cfc0a0e0 (diff)
downloadrails-a9f83b66e9b83ad8d1fdd3cb29e84190410feb01.tar.gz
rails-a9f83b66e9b83ad8d1fdd3cb29e84190410feb01.tar.bz2
rails-a9f83b66e9b83ad8d1fdd3cb29e84190410feb01.zip
Merge pull request #21694 from harrykiselev/patch-2
Docs typo: missing `end` in routing.rb
-rw-r--r--actionpack/lib/action_dispatch/routing.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/routing.rb b/actionpack/lib/action_dispatch/routing.rb
index 7182ae201c..f3c6be864f 100644
--- a/actionpack/lib/action_dispatch/routing.rb
+++ b/actionpack/lib/action_dispatch/routing.rb
@@ -146,6 +146,7 @@ module ActionDispatch
# get 'geocode/:postalcode' => :show, constraints: {
# postalcode: /\d{5}(-\d{4})?/
# }
+ # end
#
# Constraints can include the 'ignorecase' and 'extended syntax' regular
# expression modifiers: