Revision 1d0315e0
Added by Marek Hulán over 8 years ago
app/controllers/api/v2/reports_controller.rb | ||
---|---|---|
before_filter :find_resource, :only => %w{show destroy}
|
||
before_filter :setup_search_options, :only => [:index, :last]
|
||
|
||
add_smart_proxy_filters :create, :features => ReportImporter.report_features
|
||
add_smart_proxy_filters :create, :features => Proc.new { ReportImporter.report_features }
|
||
|
||
api :GET, "/reports/", N_("List all reports")
|
||
param_group :search_and_pagination, ::Api::V2::BaseController
|
Also available in: Unified diff
Fixes #11921 - load dynamic features during runtime