From aba40cc0189ac0a3dcc062fb80cfbfceb8694e4c Mon Sep 17 00:00:00 2001 From: Lachlan Sylvester Date: Wed, 14 Oct 2015 20:19:36 +1100 Subject: add railtie and set default allowed_request_origins for development --- lib/action_cable.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/action_cable.rb') diff --git a/lib/action_cable.rb b/lib/action_cable.rb index d2c5251634..de1b08f789 100644 --- a/lib/action_cable.rb +++ b/lib/action_cable.rb @@ -17,6 +17,8 @@ require 'em-hiredis' require 'redis' require 'action_cable/engine' if defined?(Rails) +require 'action_cable/railtie' if defined?(Rails) + require 'action_cable/version' module ActionCable -- cgit v1.2.3