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

mattermost_helper.rb « helpers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 27ff4051c8d2025f77f779b27533bd19d0e807d5 (plain)
1
2
3
4
5
6
7
module MattermostHelper
  def mattermost_teams_options(teams)
    teams.map do |team|
      [team['display_name'] || team['name'], team['id']]
    end
  end
end