Skip to content

Commit f74a113

Browse files
committed
update readme
1 parent c5fcfb0 commit f74a113

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ Read this doc for more info on Swagger UI.
505505

506506
By default, the Swagger UI home page retrieves the api-docs.json documentation file from http://petstore.swagger.wordnik.com/. We can override this behavior by appending a URI parameter url to the URL ie. `/swagger/dist/index.html?url=/apidocs/api-docs.json`.
507507

508-
### `config/routes.rb`
508+
*edit `config/routes.rb`*
509509
```ruby
510510
get '/docs' => redirect('/swagger/dist/index.html?url=/apidocs/api-docs.json')
511511
```

0 commit comments

Comments
 (0)