config/routes.rb in rails_api_documentation-0.2.3 vs config/routes.rb in rails_api_documentation-0.3.0
- old
+ new
@@ -4,7 +4,7 @@
# id_pattern = /[^\/]+/
RailsApiDoc::Engine.routes.draw do
resource :api_doc
- root to: 'api_docs#index'
+ root to: 'api_docs#show'
end