diff options
author | Akira Matsuda <ronnie@dio.jp> | 2017-06-30 14:18:35 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2017-07-01 18:38:05 +0900 |
commit | f851e1f705f26d8f92f0fc1b265b20bc389d23cb (patch) | |
tree | 8e5422e1b1988d63d687c5afa63e676973ec6210 | |
parent | fef234f1f0a238c2277459652861144ae89501ff (diff) | |
download | rails-f851e1f705f26d8f92f0fc1b265b20bc389d23cb.tar.gz rails-f851e1f705f26d8f92f0fc1b265b20bc389d23cb.tar.bz2 rails-f851e1f705f26d8f92f0fc1b265b20bc389d23cb.zip |
[Action Cable] require => require_relative
-rw-r--r-- | actioncable/lib/action_cable.rb | 2 | ||||
-rw-r--r-- | actioncable/lib/action_cable/engine.rb | 2 | ||||
-rw-r--r-- | actioncable/lib/action_cable/subscription_adapter/async.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/actioncable/lib/action_cable.rb b/actioncable/lib/action_cable.rb index c2d3550acb..9edd82e7b5 100644 --- a/actioncable/lib/action_cable.rb +++ b/actioncable/lib/action_cable.rb @@ -23,7 +23,7 @@ require "active_support" require "active_support/rails" -require "action_cable/version" +require_relative "action_cable/version" module ActionCable extend ActiveSupport::Autoload diff --git a/actioncable/lib/action_cable/engine.rb b/actioncable/lib/action_cable/engine.rb index 63a26636a0..d8c49ec6e1 100644 --- a/actioncable/lib/action_cable/engine.rb +++ b/actioncable/lib/action_cable/engine.rb @@ -1,6 +1,6 @@ require "rails" require "action_cable" -require "action_cable/helpers/action_cable_helper" +require_relative "helpers/action_cable_helper" require "active_support/core_ext/hash/indifferent_access" module ActionCable diff --git a/actioncable/lib/action_cable/subscription_adapter/async.rb b/actioncable/lib/action_cable/subscription_adapter/async.rb index 46819dbfec..9169734471 100644 --- a/actioncable/lib/action_cable/subscription_adapter/async.rb +++ b/actioncable/lib/action_cable/subscription_adapter/async.rb @@ -1,4 +1,4 @@ -require "action_cable/subscription_adapter/inline" +require_relative "inline" module ActionCable module SubscriptionAdapter |