Class: Tasks::BiologicalAssociations::DwcExtensionPreviewController

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

Instance Method Summary collapse

Methods included from TaskControllerConfiguration

#set_is_task_controller

Instance Method Details

#indexObject



4
5
6
7
# File 'app/controllers/tasks/biological_associations/dwc_extension_preview_controller.rb', line 4

def index
  @biological_associations_query = ::Queries::BiologicalAssociation::Filter.new(params)
  @biological_associations = @biological_associations_query.all.page(params[:page]).per(params[:per])
end