1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-12 08:18:44 +00:00

Render bootstrap and jquery from a different server.

This commit is contained in:
2015-04-21 22:11:20 -04:00
parent 9de0d46e66
commit 4185c02d77
3 changed files with 11 additions and 4 deletions

View File

@@ -10,9 +10,6 @@
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
// about supported directives. // about supported directives.
// //
//= require jquery
//= require jquery_ujs
//= require dataTables/jquery.dataTables //= require dataTables/jquery.dataTables
//= require_tree . //= require_tree .
//= require bootstrap

View File

@@ -0,0 +1,8 @@
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<!-- Bootstrap CDN -->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<style>
</style>

View File

@@ -10,6 +10,7 @@
<% else %> <% else %>
<head> <head>
<title>Wrestling App</title> <title>Wrestling App</title>
<%= render 'layouts/js' %>
<%= stylesheet_link_tag "application", media: "all", <%= stylesheet_link_tag "application", media: "all",
"data-turbolinks-track" => true %> "data-turbolinks-track" => true %>
<%= javascript_include_tag "application", "data-turbolinks-track" => true %> <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
@@ -27,3 +28,4 @@
</body> </body>
<% end %> <% end %>
</html> </html>