Rails.application.routes.draw do # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html get "/cves", to: "cves#index" get "/cves/:cve_id", to: "cves#show" get "/cves/years/:year", to: "cves#show_year" get "/cpes", to: "cpes#index" get "/cpes/:id", to: "cpes#show" end