BigW Consortium Gitlab

mattermost_helper.rb 161 Bytes
Newer Older
1 2
module MattermostHelper
  def mattermost_teams_options(teams)
3 4
    teams.map do |team|
      [team['display_name'] || team['name'], team['id']]
5 6 7
    end
  end
end