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,10 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
%html
|
||||
%head
|
||||
%title SwaggerRails
|
||||
%link{ href: '//fonts.googleapis.com/css?family=Droid+Sans:400,700', rel: 'stylesheet', type: 'text/css' }
|
||||
=stylesheet_link_tag "swagger_rails/application"
|
||||
=javascript_include_tag "swagger_rails/application"
|
||||
=csrf_meta_tags
|
||||
%body.swagger-section
|
||||
=yield
|
||||
@@ -33,7 +33,7 @@
|
||||
if (url && url.length > 1) {
|
||||
url = decodeURIComponent(url[1]);
|
||||
} else {
|
||||
url = "<%= @discovery_path %>";
|
||||
url = "<%= @discovery_path %>";
|
||||
}
|
||||
|
||||
// Pre load translate...
|
||||
|
||||
Reference in New Issue
Block a user