Skip to content

Commit d154154

Browse files
committed
Merge pull request git#400 from git/peff/fix-sfc-layout
layouts: only use "site" layout for site#index
2 parents b540eab + e5cce26 commit d154154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/layouts/application.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<%= render partial: "shared/header" %>
3333
</div> <!-- .inner -->
3434

35-
<% if controller_name == "site" %>
35+
<% if controller_name == "site" && action_name == "index" %>
3636
<%= render partial: "shared/masthead" %>
3737
<div id="content-wrapper">
3838
<div class="inner">

0 commit comments

Comments
 (0)