Skip to content

Commit

Permalink
Update capture_helper.rb
Browse files Browse the repository at this point in the history
if there's content for the right column, then we need the two-column class, if not the one-column
  • Loading branch information
jess committed Mar 6, 2013
1 parent 2fb1cdd commit c5b5c68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_view/helpers/capture_helper.rb
Expand Up @@ -180,7 +180,7 @@ def provide(name, content = nil, &block)
# <title>My Website</title> # <title>My Website</title>
# <%= yield :script %> # <%= yield :script %>
# </head> # </head>
# <body class="<%= content_for?(:right_col) ? 'one-column' : 'two-column' %>"> # <body class="<%= content_for?(:right_col) ? 'two-column' : 'one-column' %>">
# <%= yield %> # <%= yield %>
# <%= yield :right_col %> # <%= yield :right_col %>
# </body> # </body>
Expand Down

0 comments on commit c5b5c68

Please sign in to comment.