GRN2-ZZZ: Added messages for debugging actioncable (#731)

* GRN2-ZZZ: Added messages for debugging actioncable

* GRN2-ZZZ: Added data to the js message for debugging actioncable

* GRN2-ZZZ: Added data to the js message for debugging actioncable

* Log unsubscribe
This commit is contained in:
Jesus Federico
2019-08-09 12:07:38 -04:00
committed by GitHub
parent 921f252223
commit 4d69d06ba1
4 changed files with 29 additions and 3 deletions

View File

@ -138,5 +138,11 @@ module Greenlight
# Default admin password
config.admin_password_default = ENV['ADMIN_PASSWORD'] || 'administrator'
config.action_cable.log_tags = [
->(request) { request.session['user_id'] || "no-account" },
:action_cable,
->(request) { request.uuid }
]
end
end