- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
def get_team_choices_with_index
    school_ids = params[:school_id].split(",")
    @index = params[:index]
    @teams_array = Array.new
    school_ids.each do |s|
      next if s.eql? "0"
      School.find(s).teams.each do |t|
        @teams_array << t
      end
    end
    @teams_array.flatten!
    @teams_array
  end
 Follow us!
 Follow us!
Комментарии (1) RSS
Добавить комментарий