Serve ui directly from mount root

This commit is contained in:
richie
2016-07-15 15:32:32 -07:00
parent f321207285
commit 7c40f38c55
2 changed files with 1 additions and 6 deletions

View File

@@ -1,4 +1,3 @@
SwaggerRails::Engine.routes.draw do
root to: 'swagger_ui#root'
get '/index.html', to: 'swagger_ui#index'
root to: 'swagger_ui#index'
end