diff options
author | Daniel Fox <romaimperator@gmail.com> | 2016-02-07 17:02:47 -0600 |
---|---|---|
committer | Daniel Fox <romaimperator@gmail.com> | 2016-02-07 17:02:47 -0600 |
commit | 0ec48ab0cbc4ebb739101fffcbee98e7347aefda (patch) | |
tree | b2358866468e0000bf8c9af80e597b768831b4d8 /guides | |
parent | 5ccf8a9853d4a190cd4929ac0f6d736884c1dc80 (diff) | |
download | rails-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 'guides')
0 files changed, 0 insertions, 0 deletions