debian-mirror-gitlab/app/models/concerns/feature_gate.rb
2017-09-10 17:25:29 +05:30

7 lines
108 B
Ruby

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