Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add 'yield :head' to layout views. #50

  • Loading branch information...
commit 3bef3e0326084bc51ff5342388568938ab64e6a8 1 parent b7310fe
@acurry acurry authored
View
1  lib/generators/web_app_theme/theme/templates/layout_admin.html.erb
@@ -5,6 +5,7 @@
<%%= stylesheet_link_tag 'web_app_theme' %>
<%%= javascript_include_tag :defaults, :cache => true %>
<%%= csrf_meta_tag %>
+ <%%= yield :head %>
</head>
<body>
<div id="container">
View
1  lib/generators/web_app_theme/theme/templates/layout_sign.html.erb
@@ -4,6 +4,7 @@
<title><%= options.app_name %></title>
<%%= stylesheet_link_tag "web_app_theme" %>
<%%= csrf_meta_tag %>
+ <%%= yield :head %>
</head>
<body>
<div id="container">
View
1  spec/dummy/app/views/layouts/application.html.erb
@@ -5,6 +5,7 @@
<%= stylesheet_link_tag 'web_app_theme' %>
<%= javascript_include_tag :defaults, :cache => true %>
<%= csrf_meta_tag %>
+ <%= yield :head %>
</head>
<body>
<div id="container">
Please sign in to comment.
Something went wrong with that request. Please try again.