lib/action_controller.rb in actionpack-7.0.8.6 vs lib/action_controller.rb in actionpack-7.1.0.beta1
- old
+ new
@@ -1,12 +1,20 @@
# frozen_string_literal: true
require "abstract_controller"
require "action_dispatch"
+require "action_controller/deprecator"
require "action_controller/metal/strong_parameters"
require "action_controller/metal/exceptions"
+# = Action Controller
+#
+# Action Controller is a module of Action Pack.
+#
+# Action Controller provides a base controller class that can be subclassed to
+# implement filters and actions to handle requests. The result of an action is
+# typically content generated from views.
module ActionController
extend ActiveSupport::Autoload
autoload :API
autoload :Base
@@ -58,9 +66,8 @@
autoload :TemplateAssertions, "action_controller/test_case"
end
# Common Active Support usage in Action Controller
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/inflector"