Permalink
Browse files

Remove redundant method

  • Loading branch information...
1 parent 17cff2c commit cf278a6effcb86437b33008f16c59f5a4ba8878e @pixeltrix pixeltrix committed Feb 28, 2013
Showing with 0 additions and 8 deletions.
  1. +0 −8 actionpack/lib/action_dispatch/routing/mapper.rb
@@ -113,14 +113,6 @@ def normalize_options!
@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

0 comments on commit cf278a6

Please sign in to comment.