class ExploitsController < ApplicationController layout 'windows', :except => 'search' def search @results = search_modules(Exploit.find_all(), params[:terms]) end def list @exploits = Exploit.find_all() end def view @exploits = Exploit.find_all() end def exploit end def check end end