Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Open
wants to merge 1 commit into from

1 participant

@acurry

Hi,

Please review as a fix to issue #50.

andy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 12, 2012
  1. @acurry
This page is out of date. Refresh to see the latest.
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">
Something went wrong with that request. Please try again.