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/server/base.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/action_cable/server/base.rb') diff --git a/lib/action_cable/server/base.rb b/lib/action_cable/server/base.rb index 9315a48f20..5b7ddf4185 100644 --- a/lib/action_cable/server/base.rb +++ b/lib/action_cable/server/base.rb @@ -66,5 +66,7 @@ module ActionCable config.connection_class.identifiers end end + + ActiveSupport.run_load_hooks(:action_cable, Base.config) end end -- cgit v1.2.3