Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update capture_helper.rb

if there's content for the right column, then we need the two-column class, if not the one-column
  • Loading branch information...
commit c5b5c68d522b4bdcb5fce03a5966ec93bdd87e95 1 parent 2fb1cdd
@jess jess authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_view/helpers/capture_helper.rb
View
2  actionpack/lib/action_view/helpers/capture_helper.rb
@@ -180,7 +180,7 @@ def provide(name, content = nil, &block)
# <title>My Website</title>
# <%= yield :script %>
# </head>
- # <body class="<%= content_for?(:right_col) ? 'one-column' : 'two-column' %>">
+ # <body class="<%= content_for?(:right_col) ? 'two-column' : 'one-column' %>">
# <%= yield %>
# <%= yield :right_col %>
# </body>
Please sign in to comment.
Something went wrong with that request. Please try again.