master
json.array!(@subjects) do |subject| json.extract! subject, :id, :name json.url subject_url(subject, format: :json) end