Class: Tasks::CollectionObjects::OutdatedNamesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Tasks::CollectionObjects::OutdatedNamesController
- Includes:
- TaskControllerConfiguration
- Defined in:
- app/controllers/tasks/collection_objects/outdated_names_controller.rb
Instance Method Summary collapse
Methods included from TaskControllerConfiguration
Instance Method Details
#index ⇒ Object
4 5 6 7 8 9 10 |
# File 'app/controllers/tasks/collection_objects/outdated_names_controller.rb', line 4 def index @collection_objects_query = ::Queries::CollectionObject::Filter.new(params) @collection_objects = @collection_objects_query.all .order('collection_objects.id') .page(params[:page]) .per(10) end |