diff options
author | Jess Brown <jess@brownwebdesign.com> | 2013-03-06 14:52:23 -0500 |
---|---|---|
committer | Jess Brown <jess@brownwebdesign.com> | 2013-03-06 14:52:23 -0500 |
commit | c5b5c68d522b4bdcb5fce03a5966ec93bdd87e95 (patch) | |
tree | 9b30934e328afe7173494303069d846096209aa2 /actionpack | |
parent | 2fb1cdd0a5cfdac73d8152fd33bc8c1821ea9717 (diff) | |
download | rails-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.rb | 2 |
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> |