diff --git a/app/controllers/cves_controller.rb b/app/controllers/cves_controller.rb index 70d2e1e..ef256fa 100644 --- a/app/controllers/cves_controller.rb +++ b/app/controllers/cves_controller.rb @@ -9,6 +9,6 @@ class CvesController < ApplicationController end def show_year - @cves_for_year = Cve.for_year(params[:year]) + @cves_for_year = Cve.from_year(params[:year]) end end diff --git a/app/views/cves/show_years.html.erb b/app/views/cves/show_years.html.erb new file mode 100644 index 0000000..fc01c3d --- /dev/null +++ b/app/views/cves/show_years.html.erb @@ -0,0 +1,2 @@ +