debian-mirror-gitlab/app/controllers/concerns/registrations_tracking.rb
2023-05-27 22:25:52 +05:30

17 lines
280 B
Ruby

# 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
RegistrationsTracking.prepend_mod