Skip to content

Commit

Permalink
add cdn in applicatio.html.erb
Browse files Browse the repository at this point in the history
  • Loading branch information
gwmoura committed Nov 13, 2013
1 parent 081f759 commit c4f884c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<title><%= content_for?(:title) ? yield(:title) : "Riseup" %></title>
<meta name="description" content="<%= content_for?(:description) ? yield(:description) : "Riseup" %>">
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css">

<!-- Optional theme -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap-theme.min.css">
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
<%= csrf_meta_tags %>
</head>
Expand All @@ -16,5 +21,7 @@
<%= render 'layouts/messages' %>
<%= yield %>
</main>
<!-- Latest compiled and minified JavaScript -->
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.2/js/bootstrap.min.js"></script>
</body>
</html>

0 comments on commit c4f884c

Please sign in to comment.