diff options
author | Akira Matsuda <ronnie@dio.jp> | 2017-06-30 14:11:55 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2017-07-01 18:38:04 +0900 |
commit | d08da958b9ae17d4bbe4c9d7db497ece2450db5f (patch) | |
tree | e1aa636999adab464a2cf84ce0544ba621b2e4f1 /actionpack/lib | |
parent | e9fca7668b9eba82bcc832cb0061459703368397 (diff) | |
download | rails-d08da958b9ae17d4bbe4c9d7db497ece2450db5f.tar.gz rails-d08da958b9ae17d4bbe4c9d7db497ece2450db5f.tar.bz2 rails-d08da958b9ae17d4bbe4c9d7db497ece2450db5f.zip |
[Abstract Controller] require => require_relative
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/abstract_controller/base.rb | 2 | ||||
-rw-r--r-- | actionpack/lib/abstract_controller/rendering.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/abstract_controller/base.rb b/actionpack/lib/abstract_controller/base.rb index dc79820a82..bca850c0c0 100644 --- a/actionpack/lib/abstract_controller/base.rb +++ b/actionpack/lib/abstract_controller/base.rb @@ -1,4 +1,4 @@ -require "abstract_controller/error" +require_relative "error" require "active_support/configurable" require "active_support/descendants_tracker" require "active_support/core_ext/module/anonymous" diff --git a/actionpack/lib/abstract_controller/rendering.rb b/actionpack/lib/abstract_controller/rendering.rb index 54af938a93..1c87739d42 100644 --- a/actionpack/lib/abstract_controller/rendering.rb +++ b/actionpack/lib/abstract_controller/rendering.rb @@ -1,4 +1,4 @@ -require "abstract_controller/error" +require_relative "error" require "action_view" require "action_view/view_paths" require "set" |