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

View File

@@ -33,7 +33,7 @@
if (url && url.length > 1) {
url = decodeURIComponent(url[1]);
} else {
url = "<%= @discovery_path %>";
url = "<%= @discovery_path %>";
}
// Pre load translate...