<!DOCTYPE html>
<html>
<head>
  <title>Giftoppr</title>
  <link href='http://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
  <%= stylesheet_link_tag    "application", :media => "all" %>
  <%= csrf_meta_tags %>
  <%= render :partial => 'layouts/head_js' %>
  <script>head.js("<%= javascript_path "application" %>");</script>
</head>
<body>
  <header>
    <div id="header-inner">
      <div id="logo">
        <%= image_tag "logo.png", :width => 253, :height => 55 %>
      </div>
      <a href="https://www.desktoppr.co" id="by-desktoppr">
        <%= image_tag "by.png", :width => 158, :height => 38 %>
      </a>
      <ul>
        <% if user_signed_in? %>
          <li>Hi <%= current_user.name %>!</li>
          <li><%= link_to "Logout", auth_logout_path %></li>
        <% else %>
          <li><%= link_to "Signin with Dropbox", auth_path(:dropbox) %></li>
        <% end %>
      </ul>
    </div>
  </header>
  <div id="container">
    <%= yield %>
  </div>
</body>
</html>

<!DOCTYPE html>
<html>
<head>
  <title>Giftoppr</title>
  <link href='http://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
  <%= stylesheet_link_tag    "application", :media => "all" %>
  <%= csrf_meta_tags %>
  <%= render :partial => 'layouts/head_js' %>
</head>
<body>
  <header>
    <div id="header-inner">
      <div id="logo">
        <%= image_tag "logo.png", :width => 253, :height => 55 %>
      </div>
      <a href="https://www.desktoppr.co" id="by-desktoppr">
        <%= image_tag "by.png", :width => 158, :height => 38 %>
      </a>
      <ul>
        <% if user_signed_in? %>
          <li>Hi <%= current_user.name %>!</li>
          <li><%= link_to "Logout", auth_logout_path %></li>
        <% else %>
          <li><%= link_to "Signin with Dropbox", auth_path(:dropbox) %></li>
        <% end %>
      </ul>
    </div>
  </header>
  <div id="container">
    <%= yield %>
  </div>
  <script>head.js("<%= javascript_path "application" %>");</script>
</body>
</html>

Revert "Move head.js call to just after the script loader."
Revert "Move head.js call to just after the script loader."

This reverts commit fe808aa46dbe9c85063e97f4170b847c03703913.
