diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2015-07-05 22:34:23 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2015-07-05 22:34:23 +0200 |
commit | b8b50e6b043a5b1900922629edf250ccb6006085 (patch) | |
tree | 2e8f191b45e9eaa89b7a1de45888685fc8b66907 /lib/action_cable/connection/base.rb | |
parent | 44e7cc324df1189531b60de1c6353289c8205a97 (diff) | |
download | rails-b8b50e6b043a5b1900922629edf250ccb6006085.tar.gz rails-b8b50e6b043a5b1900922629edf250ccb6006085.tar.bz2 rails-b8b50e6b043a5b1900922629edf250ccb6006085.zip |
Extract Server configuration into a Configuration object
Diffstat (limited to 'lib/action_cable/connection/base.rb')
-rw-r--r-- | lib/action_cable/connection/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action_cable/connection/base.rb b/lib/action_cable/connection/base.rb index 69c0db9167..09bbc73e2d 100644 --- a/lib/action_cable/connection/base.rb +++ b/lib/action_cable/connection/base.rb @@ -117,7 +117,7 @@ module ActionCable # Tags are declared in the server but computed in the connection. This allows us per-connection tailored tags. def new_tagged_logger TaggedLoggerProxy.new server.logger, - tags: server.log_tags.map { |tag| tag.respond_to?(:call) ? tag.call(request) : tag.to_s.camelize } + tags: server.config.log_tags.map { |tag| tag.respond_to?(:call) ? tag.call(request) : tag.to_s.camelize } end def started_request_message |