11 lines
230 B
Ruby
11 lines
230 B
Ruby
|
class InthewildCveExploitsController < ApplicationController
|
||
|
def index
|
||
|
@cves = InthewildCveExploit.all
|
||
|
end
|
||
|
|
||
|
def show
|
||
|
@cve = InthewildCveExploit.find_by(:id => params[:cve_id])
|
||
|
render json: @poc.to_json
|
||
|
end
|
||
|
end
|