Revision c3b33536
Added by Stephen Benjamin over 9 years ago
app/controllers/api/v2/reports_controller.rb | ||
---|---|---|
|
||
before_filter :find_resource, :only => %w{show update destroy}
|
||
before_filter :setup_search_options, :only => [:index, :last]
|
||
add_puppetmaster_filters :create
|
||
|
||
add_smart_proxy_filters :create, :features => ReportImporter.report_features
|
||
|
||
api :GET, "/reports/", N_("List all reports")
|
||
param_group :search_and_pagination, ::Api::V2::BaseController
|
Also available in: Unified diff
fixes #8484 - make SmartProxyAuth concern more useful to plugins