mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 07:16:40 +00:00
swagger-ui via bower and middleware
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
module SwaggerRails
|
||||
class SwaggerUiController < ApplicationController
|
||||
|
||||
def show
|
||||
def index
|
||||
@discovery_path = swagger_path('v1')
|
||||
render :index
|
||||
render :index, layout: false
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user