diff options
author | Andrew White <andrew.white@unboxed.co> | 2018-03-26 14:36:39 +0100 |
---|---|---|
committer | Andrew White <andrew.white@unboxed.co> | 2018-04-06 20:07:52 +0100 |
commit | 9436c22e2aa9419f275186967a1b863bc3d01ecb (patch) | |
tree | 3a833e8e5f773d0f6668b44d15bceb644db932a3 /actioncable/lib/action_cable/connection.rb | |
parent | 03bd370c02a8fa83ab6dd01bdd99fe342c523b81 (diff) | |
download | rails-9436c22e2aa9419f275186967a1b863bc3d01ecb.tar.gz rails-9436c22e2aa9419f275186967a1b863bc3d01ecb.tar.bz2 rails-9436c22e2aa9419f275186967a1b863bc3d01ecb.zip |
Use a current model to provide the host for service urls
Trying to pass the current request down to the service so that it can
create full urls instead of paths makes the API messy so use a model
based on ActiveSupport::CurrentAttributes to provide the current host
to services that need it (primarily the disk service).
Diffstat (limited to 'actioncable/lib/action_cable/connection.rb')
0 files changed, 0 insertions, 0 deletions