You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
225 B
10 lines
225 B
6 years ago
|
json.major_counts @count
|
||
|
json.major_info do
|
||
|
json.array! @ec_majors.each_with_index.to_a do |m,index|
|
||
|
json.position index+1
|
||
|
json.major_id m.id
|
||
|
json.major_code m.code
|
||
|
json.major_name m.name
|
||
|
end
|
||
|
end
|