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
|