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

16 lines
245 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