diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2013-03-03 19:14:37 +0100 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2013-03-03 19:14:37 +0100 |
commit | 98739cf45fbcf2bbaa53bdf23bf4aa0250eca1c7 (patch) | |
tree | f7de7b67d096b81a7dfdb3234b443e7ac9ecd3d9 | |
parent | d2b9862b247693af16ad00e56d4510ef460bcea7 (diff) | |
download | rails-98739cf45fbcf2bbaa53bdf23bf4aa0250eca1c7.tar.gz rails-98739cf45fbcf2bbaa53bdf23bf4aa0250eca1c7.tar.bz2 rails-98739cf45fbcf2bbaa53bdf23bf4aa0250eca1c7.zip |
remove unused path_without_format variable
Was forgotten in a72dab0.
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index 6b272704ea..d71b21efc3 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -67,8 +67,6 @@ module ActionDispatch private def normalize_options! - path_without_format = @path.sub(/\(\.:format\)$/, '') - @options.merge!(default_controller_and_action) requirements.each do |name, requirement| |