diff options
Diffstat (limited to 'app/controllers/concerns/registrations_tracking.rb')
-rw-r--r-- | app/controllers/concerns/registrations_tracking.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/controllers/concerns/registrations_tracking.rb b/app/controllers/concerns/registrations_tracking.rb new file mode 100644 index 00000000000..14743349c1a --- /dev/null +++ b/app/controllers/concerns/registrations_tracking.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module RegistrationsTracking + extend ActiveSupport::Concern + + included do + helper_method :glm_tracking_params + end + + private + + def glm_tracking_params + params.permit(:glm_source, :glm_content) + end +end |