Class: Tasks::TaxonNames::AuthorSummaryController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Tasks::TaxonNames::AuthorSummaryController
- Includes:
- TaskControllerConfiguration
- Defined in:
- app/controllers/tasks/taxon_names/author_summary_controller.rb
Instance Method Summary collapse
-
#index ⇒ Object
GET.
Methods included from TaskControllerConfiguration
Instance Method Details
#index ⇒ Object
GET
5 6 7 8 9 10 |
# File 'app/controllers/tasks/taxon_names/author_summary_controller.rb', line 5 def index @taxon_names_query = ::Queries::TaxonName::Filter.new(params[:taxon_name_query]) @taxon_names = @taxon_names_query.all.left_joins(:taxon_name_authors) @author_data = ApplicationController.helpers.(@taxon_names) @coauthorship_data = ApplicationController.helpers.(@taxon_names) end |