Sha256: c65b5c729fe95d80ff7aaa519b92846179c8ad00bc1865586ec0b56e3c6c2077
Contents?: true
Size: 327 Bytes
Versions: 8
Compression:
Stored size: 327 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
8 entries across 8 versions & 1 rubygems