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

Andrew Curry
Andrew Curry

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. Andrew Curry
This page is out of date. Refresh to see the latest.
1  lib/generators/web_app_theme/theme/templates/layout_admin.html.erb
View
@@ -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">
1  lib/generators/web_app_theme/theme/templates/layout_sign.html.erb
View
@@ -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">
1  spec/dummy/app/views/layouts/application.html.erb
View
@@ -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.