aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/commands/dev_cache_test.rb
diff options
context:
space:
mode:
authorDaniel Fox <romaimperator@gmail.com>2016-02-07 17:02:47 -0600
committerDaniel Fox <romaimperator@gmail.com>2016-02-07 17:02:47 -0600
commit0ec48ab0cbc4ebb739101fffcbee98e7347aefda (patch)
treeb2358866468e0000bf8c9af80e597b768831b4d8 /railties/test/commands/dev_cache_test.rb
parent5ccf8a9853d4a190cd4929ac0f6d736884c1dc80 (diff)
downloadrails-0ec48ab0cbc4ebb739101fffcbee98e7347aefda.tar.gz
rails-0ec48ab0cbc4ebb739101fffcbee98e7347aefda.tar.bz2
rails-0ec48ab0cbc4ebb739101fffcbee98e7347aefda.zip
config examples for ActionCable now use Rails.application.config.action_cable
Some existing examples used ActionCable.server.config but for configuring allowed_request_origins that is overridden in development mode. The correct place to set that is Rails.application.config.action_cable which the ActionCable initializer loads from. I thought the other two examples should be changed as well just in case a default value that would override a configured value is introduced for either log_tags or disable_request_forgery_protection in the future.
Diffstat (limited to 'railties/test/commands/dev_cache_test.rb')
0 files changed, 0 insertions, 0 deletions