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" get "/github_pocs", to: "github_pocs#index" get "/github_pocs/:id", to: "github_pocs#show" get "/github_pocs/cve/:cve_id", to: "github_pocs#show_for_cve" get "/inthewild_cve_exploits", to: "inthewild_cve_exploits#index" get "/inthewild_cve_exploits/:cve_id", to: "inthewild_cve_exploits#show" end