diff options
author | Erik Ordway <eriko@jumpsuit.org> | 2012-08-29 13:14:33 -0700 |
---|---|---|
committer | Erik Ordway <eriko@jumpsuit.org> | 2012-08-29 13:14:33 -0700 |
commit | 341f42b076aef74579c7b79d3cb91e5bd1315a8b (patch) | |
tree | a1926954c3041ddbadeae1d328f7b8e377167f71 /actionpack/lib/action_dispatch | |
parent | ed5c938fa36995f06d4917d9543ba78ed506bb8d (diff) | |
download | rails-341f42b076aef74579c7b79d3cb91e5bd1315a8b.tar.gz rails-341f42b076aef74579c7b79d3cb91e5bd1315a8b.tar.bz2 rails-341f42b076aef74579c7b79d3cb91e5bd1315a8b.zip |
Update actionpack/lib/action_dispatch/routing/mapper.rb
escape the '.'s
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index f64cff8394..b52f66faf1 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -757,7 +757,7 @@ module ActionDispatch # # Routes can also be constrained to an IP or a certain range of IP addresses: # - # constraints(:ip => /192.168.\d+.\d+/) do + # constraints(:ip => /192\.168\.\d+\.\d+/) do # resources :posts # end # |