diff --git a/app/controllers/cves_controller.rb b/app/controllers/cves_controller.rb index ef256fa..ab4c531 100644 --- a/app/controllers/cves_controller.rb +++ b/app/controllers/cves_controller.rb @@ -10,5 +10,6 @@ class CvesController < ApplicationController def show_year @cves_for_year = Cve.from_year(params[:year]) + render json: @cves_for_year.to_json end end