mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove warning of circular require
This file was using mime_types before load the Mime::Type class. When trying to register first Mime::Type it load mime_type that loads mime_types in the end. Requiring mime_type ensure that we have the class definition and the mime types
This commit is contained in:
parent
462a90565c
commit
80b8df5f3d
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ require 'active_support/core_ext/hash/slice'
|
|||
require 'active_support/core_ext/hash/except'
|
||||
require 'active_support/core_ext/module/anonymous'
|
||||
require 'active_support/core_ext/struct'
|
||||
require 'action_dispatch/http/mime_types'
|
||||
require 'action_dispatch/http/mime_type'
|
||||
|
||||
module ActionController
|
||||
# Wraps the parameters hash into a nested hash. This will allow clients to submit
|
||||
|
|
Loading…
Reference in a new issue