Class: Tasks::BiologicalAssociations::GraphController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Tasks::BiologicalAssociations::GraphController
- Includes:
- TaskControllerConfiguration
- Defined in:
- app/controllers/tasks/biological_associations/graph_controller.rb
Instance Method Summary collapse
Methods included from TaskControllerConfiguration
Instance Method Details
#data ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'app/controllers/tasks/biological_associations/graph_controller.rb', line 7 def data @biological_associations_query = ::Queries::BiologicalAssociation::Filter.new(params) @biological_associations = @biological_associations_query.all.page(params[:page]).per(5000) params[:per] = 5000 render json: helpers.objects_graph( @biological_associations ).to_json end |
#index ⇒ Object
4 5 |
# File 'app/controllers/tasks/biological_associations/graph_controller.rb', line 4 def index end |