• D
    config examples for ActionCable now use Rails.application.config.action_cable · 0ec48ab0
    Daniel Fox 提交于
    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.
    0ec48ab0
README.md 18.2 KB