aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller.rb
blob: 32572c93c0ccda83f372d3d9a81afd5dcbf91d61 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
module ActionController
  autoload :Base,                 "action_controller/base/base"
  autoload :ConditionalGet,       "action_controller/base/conditional_get"
  autoload :HideActions,          "action_controller/base/hide_actions"
  autoload :Http,                 "action_controller/base/http"
  autoload :Layouts,              "action_controller/base/layouts"
  autoload :RackConvenience,      "action_controller/base/rack_convenience"
  autoload :Rails2Compatibility,  "action_controller/base/compatibility"
  autoload :Redirector,           "action_controller/base/redirector"
  autoload :Renderer,             "action_controller/base/renderer"
  autoload :RenderOptions,        "action_controller/base/render_options"
  autoload :Renderers,            "action_controller/base/render_options"
  autoload :Rescue,               "action_controller/base/rescuable"
  autoload :Testing,              "action_controller/base/testing"
  autoload :UrlFor,               "action_controller/base/url_for"
  autoload :Session,              "action_controller/base/session"
  autoload :Helpers,              "action_controller/base/helpers"

  # Ported modules
  # require 'action_controller/routing'
  autoload :Caching,           'action_controller/caching'
  autoload :Dispatcher,        'action_controller/dispatch/dispatcher'
  autoload :Integration,       'action_controller/testing/integration'
  autoload :MimeResponds,      'action_controller/base/mime_responds'
  autoload :PolymorphicRoutes, 'action_controller/routing/generation/polymorphic_routes'
  autoload :RecordIdentifier,  'action_controller/record_identifier'
  autoload :Resources,         'action_controller/routing/resources'
  autoload :SessionManagement, 'action_controller/base/session_management'
  autoload :TestCase,          'action_controller/testing/test_case'
  autoload :TestProcess,       'action_controller/testing/process'
  autoload :UrlRewriter,       'action_controller/routing/generation/url_rewriter'
  autoload :UrlWriter,         'action_controller/routing/generation/url_rewriter'

  autoload :Verification,             'action_controller/base/verification'
  autoload :Flash,                    'action_controller/base/flash'
  autoload :RequestForgeryProtection, 'action_controller/base/request_forgery_protection'
  autoload :Streaming,                'action_controller/base/streaming'
  autoload :HttpAuthentication,       'action_controller/base/http_authentication'
  autoload :FilterParameterLogging,   'action_controller/base/filter_parameter_logging'
  autoload :Translation,              'action_controller/translation'
  autoload :Cookies,                  'action_controller/base/cookies'

  autoload :ActionControllerError,    'action_controller/base/exceptions'
  autoload :SessionRestoreError,      'action_controller/base/exceptions'
  autoload :RenderError,              'action_controller/base/exceptions'
  autoload :RoutingError,             'action_controller/base/exceptions'
  autoload :MethodNotAllowed,         'action_controller/base/exceptions'
  autoload :NotImplemented,           'action_controller/base/exceptions'
  autoload :UnknownController,        'action_controller/base/exceptions'
  autoload :MissingFile,              'action_controller/base/exceptions'
  autoload :RenderError,              'action_controller/base/exceptions'
  autoload :SessionOverflowError,     'action_controller/base/exceptions'
  autoload :UnknownHttpMethod,        'action_controller/base/exceptions'

  autoload :Routing,                  'action_controller/routing'
end

autoload :HTML, 'action_controller/vendor/html-scanner'
autoload :AbstractController, 'action_controller/abstract'

autoload :Rack,                       'action_dispatch'
autoload :ActionDispatch,             'action_dispatch'
autoload :ActionView,                 'action_view'

# 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'
require 'active_support/inflector'