aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2015-12-16 18:15:59 +0100
committerDavid Heinemeier Hansson <david@loudthinking.com>2015-12-16 18:17:12 +0100
commit7eb12796cabb1d6784daf261ca8e344513cacede (patch)
treef2e611e65d8875842984bf175f7c64354def43eb /actioncable
parentaae14ab3ace13ef87431fcb8dd7efb3e5d5dfe44 (diff)
downloadrails-7eb12796cabb1d6784daf261ca8e344513cacede.tar.gz
rails-7eb12796cabb1d6784daf261ca8e344513cacede.tar.bz2
rails-7eb12796cabb1d6784daf261ca8e344513cacede.zip
Assume that the cable server is running in-process by default, offer option to change that in config/environments/production.rb
Diffstat (limited to 'actioncable')
-rw-r--r--actioncable/lib/action_cable/engine.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actioncable/lib/action_cable/engine.rb b/actioncable/lib/action_cable/engine.rb
index e62413e9e3..9bb7ef5aff 100644
--- a/actioncable/lib/action_cable/engine.rb
+++ b/actioncable/lib/action_cable/engine.rb
@@ -6,6 +6,8 @@ require "active_support/core_ext/hash/indifferent_access"
module ActionCable
class Railtie < Rails::Engine # :nodoc:
config.action_cable = ActiveSupport::OrderedOptions.new
+ config.action_cable.url = '/cable'
+
config.eager_load_namespaces << ActionCable
initializer "action_cable.helpers" do