diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2013-02-28 03:37:52 +0000 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2013-02-28 03:37:52 +0000 |
commit | cf278a6effcb86437b33008f16c59f5a4ba8878e (patch) | |
tree | d6335ad13598112609f5df2185063d3850489805 /actionpack | |
parent | 17cff2c1b867ccf46d2c2dad4ae0ee9d506e9017 (diff) | |
download | rails-cf278a6effcb86437b33008f16c59f5a4ba8878e.tar.gz rails-cf278a6effcb86437b33008f16c59f5a4ba8878e.tar.bz2 rails-cf278a6effcb86437b33008f16c59f5a4ba8878e.zip |
Remove redundant method
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 8 |
1 files changed, 0 insertions, 8 deletions
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 |