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

gl_id.rb « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 624fd00367e0f5c128497449630242824b62e416 (plain)
1
2
3
4
5
6
7
8
9
10
11
module Gitlab
  module GlId
    def self.gl_id(user)
      if user.present?
        "user-#{user.id}"
      else
        ""
      end
    end
  end
end