mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 15:22:56 +00:00
Serve ui directly from mount root
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user