aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJess Brown <jess@brownwebdesign.com>2013-03-06 14:52:23 -0500
committerJess Brown <jess@brownwebdesign.com>2013-03-06 14:52:23 -0500
commitc5b5c68d522b4bdcb5fce03a5966ec93bdd87e95 (patch)
tree9b30934e328afe7173494303069d846096209aa2 /actionpack
parent2fb1cdd0a5cfdac73d8152fd33bc8c1821ea9717 (diff)
downloadrails-c5b5c68d522b4bdcb5fce03a5966ec93bdd87e95.tar.gz
rails-c5b5c68d522b4bdcb5fce03a5966ec93bdd87e95.tar.bz2
rails-c5b5c68d522b4bdcb5fce03a5966ec93bdd87e95.zip
Update capture_helper.rb
if there's content for the right column, then we need the two-column class, if not the one-column
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_view/helpers/capture_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/capture_helper.rb b/actionpack/lib/action_view/helpers/capture_helper.rb
index 1bad82159a..5afe435459 100644
--- a/actionpack/lib/action_view/helpers/capture_helper.rb
+++ b/actionpack/lib/action_view/helpers/capture_helper.rb
@@ -180,7 +180,7 @@ module ActionView
# <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>