Project

General

Profile

« Previous | Next » 

Revision 1d0315e0

Added by Marek Hulán over 8 years ago

Fixes #11921 - load dynamic features during runtime

View differences:

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