2022-03-30 22:12:56 -05:00
|
|
|
Rails.application.routes.draw do
|
|
|
|
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
|
2022-04-04 13:18:03 -05:00
|
|
|
get "/cves", to: "cves#index"
|
|
|
|
get "/cves/:cve_id", to: "cves#show"
|
2022-04-05 12:33:51 -05:00
|
|
|
get "/cves/years/:year", to: "cves#show_year"
|
2022-04-04 13:18:03 -05:00
|
|
|
|
|
|
|
get "/cpes", to: "cpes#index"
|
|
|
|
get "/cpes/:id", to: "cpes#show"
|
2022-04-05 22:22:23 -05:00
|
|
|
|
|
|
|
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"
|
2022-04-06 02:08:19 -05:00
|
|
|
|
2022-04-06 02:21:18 -05:00
|
|
|
get "/inthewild_cve_exploits", to: "inthewild_cve_exploits#index"
|
|
|
|
get "/inthewild_cve_exploits/:cve_id", to: "inthewild_cve_exploits#show"
|
2022-03-30 22:12:56 -05:00
|
|
|
end
|