debian-mirror-gitlab/app/controllers/concerns/registrations_tracking.rb

18 lines
280 B
Ruby
Raw Normal View History

2022-11-25 23:54:43 +05:30
# 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
2023-05-27 22:25:52 +05:30
RegistrationsTracking.prepend_mod