mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
[Action Controller] require => require_relative
This commit is contained in:
parent
d08da958b9
commit
d1fe1dcf8a
7 changed files with 9 additions and 9 deletions
|
@ -1,8 +1,8 @@
|
|||
require "active_support/rails"
|
||||
require "abstract_controller"
|
||||
require "action_dispatch"
|
||||
require "action_controller/metal/live"
|
||||
require "action_controller/metal/strong_parameters"
|
||||
require_relative "action_controller/metal/live"
|
||||
require_relative "action_controller/metal/strong_parameters"
|
||||
|
||||
module ActionController
|
||||
extend ActiveSupport::Autoload
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require "action_view"
|
||||
require "action_controller"
|
||||
require "action_controller/log_subscriber"
|
||||
require_relative "log_subscriber"
|
||||
|
||||
module ActionController
|
||||
# API Controller is a lightweight version of <tt>ActionController::Base</tt>,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require "action_view"
|
||||
require "action_controller/log_subscriber"
|
||||
require "action_controller/metal/params_wrapper"
|
||||
require_relative "log_subscriber"
|
||||
require_relative "metal/params_wrapper"
|
||||
|
||||
module ActionController
|
||||
# Action Controllers are the core of a web request in \Rails. They are made up of one or more actions that are executed
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require "action_controller/metal/exceptions"
|
||||
require_relative "exceptions"
|
||||
|
||||
module ActionController #:nodoc:
|
||||
# Methods for sending arbitrary data and for streaming files to the browser,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require "rack/session/abstract/id"
|
||||
require "action_controller/metal/exceptions"
|
||||
require_relative "exceptions"
|
||||
require "active_support/security_utils"
|
||||
|
||||
module ActionController #:nodoc:
|
||||
|
|
|
@ -2,7 +2,7 @@ require "rails"
|
|||
require "action_controller"
|
||||
require "action_dispatch/railtie"
|
||||
require "abstract_controller/railties/routes_helpers"
|
||||
require "action_controller/railties/helpers"
|
||||
require_relative "railties/helpers"
|
||||
require "action_view/railtie"
|
||||
|
||||
module ActionController
|
||||
|
|
|
@ -4,7 +4,7 @@ require "active_support/core_ext/object/to_query"
|
|||
require "active_support/core_ext/module/anonymous"
|
||||
require "active_support/core_ext/hash/keys"
|
||||
require "active_support/testing/constant_lookup"
|
||||
require "action_controller/template_assertions"
|
||||
require_relative "template_assertions"
|
||||
require "rails-dom-testing"
|
||||
|
||||
module ActionController
|
||||
|
|
Loading…
Reference in a new issue