diff options
author | Javan Makhmali <javan@javan.us> | 2016-03-03 21:27:52 -0500 |
---|---|---|
committer | Javan Makhmali <javan@javan.us> | 2016-03-03 21:27:52 -0500 |
commit | 6689d7c7b9c17e3e2512060c560635ce2de9ef99 (patch) | |
tree | c68c0f76858013cb9b11d50ad10d06ec209a4c08 /actioncable/lib/action_cable | |
parent | 5e84b9557868fe19c45f4da89d448e40b87a1f52 (diff) | |
download | rails-6689d7c7b9c17e3e2512060c560635ce2de9ef99.tar.gz rails-6689d7c7b9c17e3e2512060c560635ce2de9ef99.tar.bz2 rails-6689d7c7b9c17e3e2512060c560635ce2de9ef99.zip |
Share default mount path with client side .js
Diffstat (limited to 'actioncable/lib/action_cable')
-rw-r--r-- | actioncable/lib/action_cable/engine.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/action_cable/engine.rb b/actioncable/lib/action_cable/engine.rb index c90aadaf2c..7dc541d00c 100644 --- a/actioncable/lib/action_cable/engine.rb +++ b/actioncable/lib/action_cable/engine.rb @@ -6,7 +6,7 @@ require "active_support/core_ext/hash/indifferent_access" module ActionCable class Railtie < Rails::Engine # :nodoc: config.action_cable = ActiveSupport::OrderedOptions.new - config.action_cable.mount_path = '/cable' + config.action_cable.mount_path = ActionCable::INTERNAL[:default_mount_path] config.eager_load_namespaces << ActionCable |