Class: Tasks::CollectingEvents::MetadataController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Tasks::CollectingEvents::MetadataController
- Includes:
- TaskControllerConfiguration
- Defined in:
- app/controllers/tasks/collecting_events/metadata_controller.rb
Instance Method Summary collapse
Methods included from TaskControllerConfiguration
Instance Method Details
#index ⇒ Object
4 5 6 7 8 |
# File 'app/controllers/tasks/collecting_events/metadata_controller.rb', line 4 def index redirect_to :filter_collecting_events_task, message: 'Filter a result set first.' and return if params[:collecting_event_query].blank? @collecting_event_query = ::Queries::CollectingEvent::Filter.new( params[:collecting_event_query] ) @collecting_events = @collecting_event_query.all end |