Class: DbdOntoEngine::OntologiesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- DbdOntoEngine::OntologiesController
- Defined in:
- app/controllers/dbd_onto_engine/ontologies_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
6 7 8 |
# File 'app/controllers/dbd_onto_engine/ontologies_controller.rb', line 6 def index @ontologies = supported_ontologies end |
#show ⇒ Object
10 11 12 13 |
# File 'app/controllers/dbd_onto_engine/ontologies_controller.rb', line 10 def show @ontology = params[:id] @ontology_predicates = ontology(@ontology).resources end |