Class: Tasks::BiologicalAssociations::FamilySummaryController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Tasks::BiologicalAssociations::FamilySummaryController
- Includes:
- TaskControllerConfiguration
- Defined in:
- app/controllers/tasks/biological_associations/family_summary_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/biological_associations/family_summary_controller.rb', line 4 def index @biological_associations_query = ::Queries::BiologicalAssociation::Filter.new(params) @biological_associations = @biological_associations_query.all.page(params[:page]).per(5000) @data = helpers.family_by_genus_summary(@biological_associations) params[:per] = 5000 end |