Skip to content

Instantly share code, notes, and snippets.

@stevavoliajvar
Created March 19, 2016 21:53
Show Gist options
  • Save stevavoliajvar/51b20087c51e41f42c88 to your computer and use it in GitHub Desktop.
Save stevavoliajvar/51b20087c51e41f42c88 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title><%= full_title(yield(:title)) %></title>
<%= stylesheet_link_tag "application", media: "all",
"data-turbolinks-track" => true %>
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
<%= csrf_meta_tags %>
<%= render 'layouts/shim' %> -- this one is fine
</head>
<body>
<%= render 'layouts/header' %> -- this line causes error
<div class="container">
<%= yield %>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment