Skip to content

Commit

Permalink
Whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
NZKoz committed Jul 11, 2008
1 parent c00baf4 commit 6b9f8ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions actionpack/lib/action_view/helpers/capture_helper.rb
Expand Up @@ -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
Expand Down

0 comments on commit 6b9f8ad

Please sign in to comment.