debian-mirror-gitlab/app/models/concerns/feature_gate.rb
2019-07-07 11:18:12 +05:30

9 lines
135 B
Ruby

# frozen_string_literal: true
module FeatureGate
def flipper_id
return if new_record?
"#{self.class.name}:#{id}"
end
end