Permalink
Browse files

Whitespace

  • Loading branch information...
1 parent c00baf4 commit 6b9f8adb3eff3be81653bd565be4ff9c63cd775d @NZKoz NZKoz committed Jul 11, 2008
Showing with 1 addition and 2 deletions.
  1. +1 −2 actionpack/lib/action_view/helpers/capture_helper.rb
@@ -34,9 +34,8 @@ def capture(*args, &block)
# 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

0 comments on commit 6b9f8ad

Please sign in to comment.