mirror of
https://github.com/github/rails.git
synced 2026-01-27 15:28:00 -05:00
Whitespace
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user