mattermost_helper.rb 161 Bytes EditWeb IDE 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