Skip to content

Commit

Permalink
Migrate GCP
Browse files Browse the repository at this point in the history
  • Loading branch information
Neill Turner committed Jan 2, 2025
1 parent 17d8a93 commit 1413532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/dfe_analytics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
# enable analytics. You might want to hook this up to a feature flag or
# environment variable.
#
config.enable_analytics = !(Rails.env.test?)
config.enable_analytics = proc { Rails.env.production? || Rails.env.development? }
config.user_identifier = proc { |user| user&.sub }

# The environment we’re running in. This value will be attached
Expand Down

0 comments on commit 1413532

Please sign in to comment.