Skip to content

Commit 0ecf289

Browse files
committed
Merge pull request #40 from onomated/fix-headers-option
Missing semi-colon in js preventing headers option from being set
2 parents 121765d + 23473a6 commit 0ecf289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/grape_swagger_rails/application/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
} else {
4545
window.authorizations.add("key", null);
4646
}
47-
})
47+
});
4848

4949
<% GrapeSwaggerRails.options.headers.each_pair do |key, value| %>
5050
<%=raw "window.authorizations.add('key', new ApiKeyAuthorization('#{CGI.escapeHTML(key)}', '#{CGI.escapeHTML(value)}', 'header'));" %>

0 commit comments

Comments
 (0)