[deploy] Track current_user ID in Honeycomb (#7915)
This commit is contained in:
parent
b5885f6c29
commit
6d6f7086e5
1 changed files with 4 additions and 1 deletions
|
|
@ -36,7 +36,10 @@ class ApplicationController < ActionController::Base
|
|||
end
|
||||
|
||||
def authenticate_user!
|
||||
return if current_user
|
||||
if current_user
|
||||
Honeycomb.add_field("current_user_id", current_user.id)
|
||||
return
|
||||
end
|
||||
|
||||
respond_to do |format|
|
||||
format.html { redirect_to "/enter" }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue