Class: Tasks::CollectionObjects::TableController

Inherits:
ApplicationController
  • Object
show all
Includes:
TaskControllerConfiguration
Defined in:
app/controllers/tasks/collection_objects/table_controller.rb

Instance Method Summary collapse

Methods included from TaskControllerConfiguration

#set_is_task_controller

Instance Method Details

#indexObject

GET



5
6
7
8
# File 'app/controllers/tasks/collection_objects/table_controller.rb', line 5

def index
  @collection_objects_query = ::Queries::CollectionObject::Filter.new(params)
  @collection_objects = @collection_objects_query.all.order('collection_objects.id').limit(100)
end