diff options
author | Matthew Draper <matthew@trebex.net> | 2017-06-15 02:45:38 +0930 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-15 02:45:38 +0930 |
commit | 4915bfeeea88889341153cad9166090c2d6b1910 (patch) | |
tree | 926d5c944b8fd71c1fa2db6ddbc5fc397722112e /actioncable/README.md | |
parent | 326914dd3a15e04851c9ef4a47edeb3dad2ec381 (diff) | |
parent | 6673cf7071094e87d473459452a2d0e4c2ccfebe (diff) | |
download | rails-4915bfeeea88889341153cad9166090c2d6b1910.tar.gz rails-4915bfeeea88889341153cad9166090c2d6b1910.tar.bz2 rails-4915bfeeea88889341153cad9166090c2d6b1910.zip |
Merge pull request #29417 from bogdanvlviv/use-require_relative-instead-of_require-with-full-path
Use `require_relative` instead of `require` with full path
Diffstat (limited to 'actioncable/README.md')
-rw-r--r-- | actioncable/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/README.md b/actioncable/README.md index d14f20d75b..6946dbefb0 100644 --- a/actioncable/README.md +++ b/actioncable/README.md @@ -409,7 +409,7 @@ application. The recommended basic setup is as follows: ```ruby # cable/config.ru -require ::File.expand_path('../config/environment', __dir__) +require_relative '../config/environment' Rails.application.eager_load! run ActionCable.server |