2016-08-06 12:51:43 -04:00
|
|
|
require "active_support/rails"
|
|
|
|
require "abstract_controller"
|
|
|
|
require "action_dispatch"
|
|
|
|
require "action_controller/metal/live"
|
|
|
|
require "action_controller/metal/strong_parameters"
|
2009-12-02 23:01:01 -05:00
|
|
|
|
2008-11-23 17:35:13 -05:00
|
|
|
module ActionController
|
2009-12-02 23:01:01 -05:00
|
|
|
extend ActiveSupport::Autoload
|
2005-02-19 15:29:55 -05:00
|
|
|
|
2015-04-15 14:30:27 -04:00
|
|
|
autoload :API
|
2009-12-22 18:27:37 -05:00
|
|
|
autoload :Base
|
|
|
|
autoload :Metal
|
|
|
|
autoload :Middleware
|
2015-01-17 19:06:10 -05:00
|
|
|
autoload :Renderer
|
2015-04-06 22:20:57 -04:00
|
|
|
autoload :FormBuilder
|
2009-06-15 14:44:45 -04:00
|
|
|
|
2016-02-23 17:55:49 -05:00
|
|
|
eager_autoload do
|
|
|
|
autoload :Caching
|
|
|
|
end
|
|
|
|
|
2009-12-22 18:27:37 -05:00
|
|
|
autoload_under "metal" do
|
|
|
|
autoload :ConditionalGet
|
2009-12-30 19:35:50 -05:00
|
|
|
autoload :Cookies
|
2011-04-18 02:17:47 -04:00
|
|
|
autoload :DataStreaming
|
2014-08-16 18:06:20 -04:00
|
|
|
autoload :EtagWithTemplateDigest
|
2016-08-22 16:34:35 -04:00
|
|
|
autoload :EtagWithFlash
|
2009-12-30 19:35:50 -05:00
|
|
|
autoload :Flash
|
2011-03-27 15:05:14 -04:00
|
|
|
autoload :ForceSSL
|
2009-12-22 18:27:37 -05:00
|
|
|
autoload :Head
|
|
|
|
autoload :Helpers
|
2009-12-30 19:35:50 -05:00
|
|
|
autoload :HttpAuthentication
|
2015-06-02 16:12:50 -04:00
|
|
|
autoload :BasicImplicitRender
|
2010-03-03 03:42:51 -05:00
|
|
|
autoload :ImplicitRender
|
2010-01-12 18:41:04 -05:00
|
|
|
autoload :Instrumentation
|
2009-12-22 18:27:37 -05:00
|
|
|
autoload :MimeResponds
|
2011-04-28 04:56:11 -04:00
|
|
|
autoload :ParamsWrapper
|
2009-12-22 18:27:37 -05:00
|
|
|
autoload :Redirecting
|
|
|
|
autoload :Renderers
|
2010-01-04 16:59:23 -05:00
|
|
|
autoload :Rendering
|
2009-12-30 19:35:50 -05:00
|
|
|
autoload :RequestForgeryProtection
|
2009-12-22 18:27:37 -05:00
|
|
|
autoload :Rescue
|
2011-04-18 02:52:29 -04:00
|
|
|
autoload :Streaming
|
2012-07-12 01:50:42 -04:00
|
|
|
autoload :StrongParameters
|
2016-08-09 13:35:59 -04:00
|
|
|
autoload :ParameterEncoding
|
2010-01-04 16:59:23 -05:00
|
|
|
autoload :Testing
|
2010-02-25 18:05:10 -05:00
|
|
|
autoload :UrlFor
|
2009-12-12 20:41:58 -05:00
|
|
|
end
|
2008-11-23 17:35:13 -05:00
|
|
|
|
2016-01-20 19:16:23 -05:00
|
|
|
autoload_under "api" do
|
|
|
|
autoload :ApiRendering
|
|
|
|
end
|
|
|
|
|
2016-08-06 12:51:43 -04:00
|
|
|
autoload :TestCase, "action_controller/test_case"
|
|
|
|
autoload :TemplateAssertions, "action_controller/test_case"
|
2009-12-02 23:01:01 -05:00
|
|
|
end
|
2008-11-25 11:38:20 -05:00
|
|
|
|
2010-06-14 17:21:53 -04:00
|
|
|
# Common Active Support usage in Action Controller
|
2016-08-06 12:51:43 -04:00
|
|
|
require "active_support/core_ext/module/attribute_accessors"
|
|
|
|
require "active_support/core_ext/load_error"
|
|
|
|
require "active_support/core_ext/module/attr_internal"
|
|
|
|
require "active_support/core_ext/name_error"
|
|
|
|
require "active_support/core_ext/uri"
|
|
|
|
require "active_support/inflector"
|