From cf278a6effcb86437b33008f16c59f5a4ba8878e Mon Sep 17 00:00:00 2001 From: Andrew White Date: Thu, 28 Feb 2013 03:37:52 +0000 Subject: Remove redundant method --- actionpack/lib/action_dispatch/routing/mapper.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'actionpack/lib/action_dispatch') diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index b0842e6354..4fbe156a72 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -113,14 +113,6 @@ module ActionDispatch @options.merge!(default_controller_and_action) end - def normalize_format! - if options[:format] == true - options[:format] = /.+/ - elsif options[:format] == false - options.delete(:format) - end - end - def normalize_requirements! constraints.each do |key, requirement| next unless segment_keys.include?(key) || key == :controller -- cgit v1.2.3