Move all the trackers to a separate js pack
This commit is contained in:
parent
b8c309acdb
commit
e71cdcd12c
22 changed files with 216 additions and 174 deletions
|
@ -106,17 +106,4 @@ module ApplicationHelper
|
|||
root_path
|
||||
end
|
||||
end
|
||||
|
||||
def sentry_config
|
||||
sentry = Rails.application.secrets.sentry
|
||||
if sentry
|
||||
{
|
||||
dsn: sentry[:browser],
|
||||
id: current_user&.id,
|
||||
email: current_email
|
||||
}.to_json
|
||||
else
|
||||
{}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue