Skip to content

Commit 0fc9b15

Browse files
committed
Fix: compatibility with grape-swagger 0.8.0 and HEAD.
1 parent 3e61961 commit 0fc9b15

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/grape-swagger-rails.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def before_filter(&block)
1515

1616
self.options = Options.new(
1717

18-
url: '/swagger_doc.json',
18+
url: '/swagger_doc',
1919
app_name: 'Swagger',
2020
app_url: 'http://swagger.wordnik.com',
2121

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
GrapeSwaggerRails.options.url = '/api/swagger_doc.json'
1+
GrapeSwaggerRails.options.url = '/api/swagger_doc'
22
GrapeSwaggerRails.options.app_name = 'Swagger'
33
GrapeSwaggerRails.options.app_url = 'http://localhost:3000'

0 commit comments

Comments
 (0)