Class: Tasks::Nomenclature::Catalog::BasisController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/tasks/nomenclature/catalog/basis_controller.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) index

include TaskControllerConfiguration



4
5
6
7
# File 'app/controllers/tasks/nomenclature/catalog/basis_controller.rb', line 4

def index
  @taxon_name = TaxonName.find(params[:taxon_name_id]) 
  @data = NomenclatureCatalog.data_for(@taxon_name)
end