Class: Tasks::Metadata::Vocabulary::ProjectVocabularyController

Inherits:
ApplicationController
  • Object
show all
Includes:
TaskControllerConfiguration
Defined in:
app/controllers/tasks/metadata/vocabulary/project_vocabulary_controller.rb

Instance Method Summary collapse

Methods included from TaskControllerConfiguration

#set_is_task_controller

Instance Method Details

#data_modelsObject



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# File 'app/controllers/tasks/metadata/vocabulary/project_vocabulary_controller.rb', line 4

def data_models
  allowed= %w{
    AlternateValue
    BiologicalAssociationsGraph
    BiologicalRelationship
    BiologicalRelationshipType
    CharacterState
    Citation
    CitationTopic
    CollectingEvent
    CollectionObject
    CollectionObjectObservation
    CollectionProfile
    CommonName
    Container
    Content
    ControlledVocabularyTerm
    DataAttribute
    Depiction
    DerivedCollectionObject
    Descriptor
    Document
    Download
    DwcOccurrence
    Extract
    FieldOccurrence
    GeographicArea
    GeographicAreaType
    Identifier
    Image
    Label
    Language
    Lead
    Loan
    LoanItem
    Namespace
    Note
    Observation
    ObservationMatrix
    Organization
    Otu
    OtuRelationship
    Person
    PreparationType
    Protocol
    RangedLotCategory
    Repository
    Sequence
    Serial
    SerialChronology
    SledImage
    Source
    SqedDepiction
    TaxonDetermination
    TaxonName
    TaxonNameClassification
    TaxonNameRelationship
  }

  render json: allowed
end