diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-07-11 19:22:43 +0200 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-07-11 19:23:21 +0200 |
commit | 6b9f8adb3eff3be81653bd565be4ff9c63cd775d (patch) | |
tree | 65cb64ea1715cc3fdf116ded0b25524da51c82c9 /actionpack/lib/action_view | |
parent | c00baf496ef40d09962aabcb63d6d319cb8a0584 (diff) | |
download | rails-6b9f8adb3eff3be81653bd565be4ff9c63cd775d.tar.gz rails-6b9f8adb3eff3be81653bd565be4ff9c63cd775d.tar.bz2 rails-6b9f8adb3eff3be81653bd565be4ff9c63cd775d.zip |
Whitespace
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r-- | actionpack/lib/action_view/helpers/capture_helper.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/capture_helper.rb b/actionpack/lib/action_view/helpers/capture_helper.rb index 990c30b90d..720e2da8cc 100644 --- a/actionpack/lib/action_view/helpers/capture_helper.rb +++ b/actionpack/lib/action_view/helpers/capture_helper.rb @@ -34,9 +34,8 @@ module ActionView # Return captured buffer in erb. if block_called_from_erb?(block) with_output_buffer { block.call(*args) } - - # Return block result otherwise, but protect buffer also. else + # Return block result otherwise, but protect buffer also. with_output_buffer { return block.call(*args) } end end |