Move all the trackers to a separate js pack

This commit is contained in:
Paul Chavard 2019-03-26 16:02:08 +01:00
parent b8c309acdb
commit e71cdcd12c
22 changed files with 216 additions and 174 deletions

View file

@ -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