mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove redundant method
This commit is contained in:
parent
17cff2c1b8
commit
cf278a6eff
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue