aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2013-03-03 19:14:37 +0100
committerKornelius Kalnbach <murphy@rubychan.de>2013-03-03 19:14:37 +0100
commit98739cf45fbcf2bbaa53bdf23bf4aa0250eca1c7 (patch)
treef7de7b67d096b81a7dfdb3234b443e7ac9ecd3d9 /actionpack/lib/action_dispatch
parentd2b9862b247693af16ad00e56d4510ef460bcea7 (diff)
downloadrails-98739cf45fbcf2bbaa53bdf23bf4aa0250eca1c7.tar.gz
rails-98739cf45fbcf2bbaa53bdf23bf4aa0250eca1c7.tar.bz2
rails-98739cf45fbcf2bbaa53bdf23bf4aa0250eca1c7.zip
remove unused path_without_format variable
Was forgotten in a72dab0.
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r--actionpack/lib/action_dispatch/routing/mapper.rb2
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|