config/routes.rb in dbd_onto_engine-0.0.3 vs config/routes.rb in dbd_onto_engine-0.0.4
- old
+ new
@@ -1,3 +1,4 @@
DbdOntoEngine::Engine.routes.draw do
- get('/ontologies' => 'ontologies#index')
+ get '/ontologies' => 'ontologies#index'
+ get '/ontologies/:id' => 'ontologies#show', as: 'ontology'
end