hot_fix: Moves JS imports into the end of the application html file

parent b8b1aeee
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<%= javascript_include_tag "jsapi" %>
<title>Agendador</title>
<meta name="viewport" content="width=device-width, initial-scale=1, mimimum-scale=1, maximum-scale=1, user-scalable=0">
<meta id="theme-color" name="theme-color" content="#92BF23">
<link rel="icon" sizes="192x192" href="<%= image_path("favicon.png") %>">
<%= javascript_include_tag "application" %>
<link href='https://fonts.googleapis.com/css?family=Bree+Serif' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Bree+Serif' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Droid+Serif:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro' rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script defer="defer" src="//barra.brasil.gov.br/barra.js" type="text/javascript"></script>
<%= csrf_meta_tags %>
<%= favicon_link_tag 'favicon.ico' %>
......@@ -157,5 +153,8 @@
});
</script>
<% end %>
<%= javascript_include_tag "jsapi" %>
<%= javascript_include_tag "application" %>
<script defer="defer" src="//barra.brasil.gov.br/barra.js" type="text/javascript"></script>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment