action_controller.rb 4.2 KB
Newer Older
1
module ActionController
2
  autoload :Base,                 "action_controller/base"
3
  autoload :Benchmarking,         "action_controller/metal/benchmarking"
4
  autoload :ConditionalGet,       "action_controller/metal/conditional_get"
Y
Yehuda Katz 已提交
5
  autoload :Configuration,        "action_controller/metal/configuration"
6
  autoload :Helpers,              "action_controller/metal/helpers"
7
  autoload :HideActions,          "action_controller/metal/hide_actions"
8
  autoload :Layouts,              "action_controller/metal/layouts"
9
  autoload :Metal,                "action_controller/metal"
10
  autoload :Middleware,           "action_controller/middleware"
11 12 13
  autoload :RackConvenience,      "action_controller/metal/rack_convenience"
  autoload :Rails2Compatibility,  "action_controller/metal/compatibility"
  autoload :Redirector,           "action_controller/metal/redirector"
14
  autoload :RenderingController,  "action_controller/metal/rendering_controller"
15 16
  autoload :RenderOptions,        "action_controller/metal/render_options"
  autoload :Rescue,               "action_controller/metal/rescuable"
17
  autoload :Responder,            "action_controller/metal/responder"
18
  autoload :Session,              "action_controller/metal/session"
19 20
  autoload :Testing,              "action_controller/metal/testing"
  autoload :UrlFor,               "action_controller/metal/url_for"
21

22 23
  autoload :Caching,           'action_controller/caching'
  autoload :Dispatcher,        'action_controller/dispatch/dispatcher'
24 25
  autoload :Integration,       'action_controller/deprecated/integration_test'
  autoload :IntegrationTest,   'action_controller/deprecated/integration_test'
26
  autoload :MimeResponds,      'action_controller/metal/mime_responds'
27
  autoload :PerformanceTest,   'action_controller/deprecated/performance_test'
J
Joshua Peek 已提交
28
  autoload :PolymorphicRoutes, 'action_controller/polymorphic_routes'
29
  autoload :RecordIdentifier,  'action_controller/record_identifier'
J
Joshua Peek 已提交
30
  autoload :Routing,           'action_controller/deprecated'
31
  autoload :SessionManagement, 'action_controller/metal/session_management'
32
  autoload :TestCase,          'action_controller/testing/test_case'
33
  autoload :TestProcess,       'action_controller/testing/process'
J
Joshua Peek 已提交
34 35
  autoload :UrlRewriter,       'action_controller/url_rewriter'
  autoload :UrlWriter,         'action_controller/url_rewriter'
36

37 38 39 40 41 42
  autoload :Verification,             'action_controller/metal/verification'
  autoload :Flash,                    'action_controller/metal/flash'
  autoload :RequestForgeryProtection, 'action_controller/metal/request_forgery_protection'
  autoload :Streaming,                'action_controller/metal/streaming'
  autoload :HttpAuthentication,       'action_controller/metal/http_authentication'
  autoload :FilterParameterLogging,   'action_controller/metal/filter_parameter_logging'
43
  autoload :Translation,              'action_controller/translation'
44
  autoload :Cookies,                  'action_controller/metal/cookies'
D
Initial  
David Heinemeier Hansson 已提交
45

46 47 48 49 50 51 52 53 54 55
  autoload :ActionControllerError,    'action_controller/metal/exceptions'
  autoload :RenderError,              'action_controller/metal/exceptions'
  autoload :RoutingError,             'action_controller/metal/exceptions'
  autoload :MethodNotAllowed,         'action_controller/metal/exceptions'
  autoload :NotImplemented,           'action_controller/metal/exceptions'
  autoload :UnknownController,        'action_controller/metal/exceptions'
  autoload :MissingFile,              'action_controller/metal/exceptions'
  autoload :RenderError,              'action_controller/metal/exceptions'
  autoload :SessionOverflowError,     'action_controller/metal/exceptions'
  autoload :UnknownHttpMethod,        'action_controller/metal/exceptions'
56 57
end

J
Joshua Peek 已提交
58
autoload :HTML, 'action_controller/vendor/html-scanner'
59
autoload :AbstractController, 'abstract_controller'
60

61 62
require 'action_dispatch'
require 'action_view'
63 64 65 66 67 68 69 70

# Common ActiveSupport usage in ActionController
require "active_support/concern"
require 'active_support/core_ext/class/attribute_accessors'
require 'active_support/core_ext/load_error'
require 'active_support/core_ext/module/attr_internal'
require 'active_support/core_ext/module/delegation'
require 'active_support/core_ext/name_error'
71
require 'active_support/inflector'