Browse Source

load javascript at end of document

responsive
Georg Hopp 9 years ago
parent
commit
e388521979
  1. 7
      app/views/layouts/application.html.erb

7
app/views/layouts/application.html.erb

@ -2,9 +2,6 @@
<html> <html>
<head> <head>
<title>Georg Hopp aka Steffers</title> <title>Georg Hopp aka Steffers</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head> </head>
<body> <body>
<header id="header"> <header id="header">
@ -68,6 +65,10 @@
</a> </a>
</div> </div>
</footer> </footer>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</body> </body>
</html> </html>
<!-- vim: set ts=2 sw=2: --> <!-- vim: set ts=2 sw=2: -->
Loading…
Cancel
Save