swagger-ui via bower and middleware

This commit is contained in:
domaindrivendev
2015-09-22 15:12:28 -07:00
parent 527bbd1cc3
commit c01edd2ded
66 changed files with 38131 additions and 106 deletions

View File

@@ -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