Skip to content

Commit

Permalink
Remove redundant method
Browse files Browse the repository at this point in the history
  • Loading branch information
pixeltrix committed Feb 28, 2013
1 parent 17cff2c commit cf278a6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions actionpack/lib/action_dispatch/routing/mapper.rb
Expand Up @@ -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
Expand Down

0 comments on commit cf278a6

Please sign in to comment.