33 lines
1.4 KiB
Ruby
33 lines
1.4 KiB
Ruby
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 "/github_pocs/years/:year", to: "github_pocs#show_year"
|
|
|
|
get "/inthewild_cve_exploits", to: "inthewild_cve_exploits#index"
|
|
get "/inthewild_cve_exploits/:cve_id", to: "inthewild_cve_exploits#show"
|
|
|
|
get "/trickest_poc_cves", to: "trickest_poc_cves#index"
|
|
get "/trickest_poc_cves/:id", to: "trickest_poc_cves#show"
|
|
get "/trickest_poc_cves/cve/:cve_id", to: "trickest_poc_cves#show_for_cve"
|
|
get "/trickest_poc_cves/years/:year", to: "trickest_poc_cves#show_year"
|
|
|
|
get "/cvemon_cves", to: "cvemon_cves#index"
|
|
get "/cvemon_cves/:id", to: "cvemon_cves#show"
|
|
get "/cvemon_cves/cve/:cve_id", to: "cvemon_cves#show_for_cve"
|
|
get "/cvemon_cves/years/:year", to: "cvemon_cves#show_year"
|
|
|
|
get "/cnas", to: "cnas#index"
|
|
get "/cnas/:id", to: "cnas#show"
|
|
get "/cnas/cna/:cna_id", to: "cnas#show_for_cna"
|
|
get "/cnas/organization_name/:organization_name", to: "cnas#show_for_orgname"
|
|
|
|
end
|