From 98739cf45fbcf2bbaa53bdf23bf4aa0250eca1c7 Mon Sep 17 00:00:00 2001 From: Kornelius Kalnbach Date: Sun, 3 Mar 2013 19:14:37 +0100 Subject: remove unused path_without_format variable Was forgotten in a72dab0. --- actionpack/lib/action_dispatch/routing/mapper.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'actionpack') 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| -- cgit v1.2.3