just make cves controller render it all as json for now
This commit is contained in:
parent
7f8dbc606e
commit
8d40ec1665
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue