Sha256: a15a58dced4db8c6b2fcaad322c02e1d4a51c2c7dea33a4d48377ad50ac64c37
Contents?: true
Size: 328 Bytes
Versions: 19
Compression:
Stored size: 328 Bytes
Contents
class PolicyDashboardController < ApplicationController before_filter :prefetch_data, :only => :index def index end def prefetch_data @policy = ::ForemanOpenscap::Policy.find(params[:id]) dashboard = ForemanOpenscap::PolicyDashboard::Data.new(@policy, params[:search]) @report = dashboard.report end end
Version data entries
19 entries across 19 versions & 1 rubygems