diff options
author | Mike Gunderloy <MikeG1@larkfarm.com> | 2009-03-03 17:40:39 -0600 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2009-03-04 14:27:39 +1300 |
commit | ce56c5daa81d61a745b88220014a846a0eea46a4 (patch) | |
tree | 0ca83c0edc037e9d5db36fe9829791921adc756c /actionpack/lib | |
parent | 9b1b88f09cf1498f04e1cd469d0d5ffccf2b93cc (diff) | |
download | rails-ce56c5daa81d61a745b88220014a846a0eea46a4.tar.gz rails-ce56c5daa81d61a745b88220014a846a0eea46a4.tar.bz2 rails-ce56c5daa81d61a745b88220014a846a0eea46a4.zip |
Allow routes with a trailing slash to be recognized
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#2039 state:committed]
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/routing/segments.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/routing/segments.rb b/actionpack/lib/action_controller/routing/segments.rb index cbb1a9c09a..358b4a6487 100644 --- a/actionpack/lib/action_controller/routing/segments.rb +++ b/actionpack/lib/action_controller/routing/segments.rb @@ -318,7 +318,7 @@ module ActionController end def regexp_chunk - '(\.[^/?\.]+)?' + '/|(\.[^/?\.]+)?' end def to_s |