config/routes.rb in api_taster-0.2.2 vs config/routes.rb in api_taster-0.3.0
- old
+ new
@@ -1,5 +1,7 @@
ApiTaster::Engine.routes.draw do
- resources :routes, :only => [:index, :show]
+ resources :routes, :only => [:index, :show] do
+ get :obsolete_definitions, :on => :collection
+ end
root :to => 'routes#index'
end