15 lines
554 B
Ruby
15 lines
554 B
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 "inthewild/cve/:cve_id", to: "inthewild_exploitations#show"
|
|
end
|