Welcome to mirror list, hosted at ThFree Co, Russian Federation.

feature_gate.rb « concerns « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5db64fe82c4a3e4e9a213e57f9781bb62589df82 (plain)
1
2
3
4
5
6
7
module FeatureGate
  def flipper_id
    return nil if new_record?

    "#{self.class.name}:#{id}"
  end
end