just make cves controller render it all as json for now

This commit is contained in:
Brendan McDevitt 2022-04-05 12:36:32 -05:00
parent 7f8dbc606e
commit 8d40ec1665

View file

@ -10,5 +10,6 @@ class CvesController < ApplicationController
def show_year def show_year
@cves_for_year = Cve.from_year(params[:year]) @cves_for_year = Cve.from_year(params[:year])
render json: @cves_for_year.to_json
end end
end end