Merge pull request #27760 from kenta-s/remove-unnecessary-comments-in-cache_helper

Remove unnecessary comments in cache_helper.rb [ci skip]
This commit is contained in:
Kasper Timm Hansen 2017-01-21 21:23:27 +01:00 committed by GitHub
commit fb5bd3c6f2
1 changed files with 0 additions and 2 deletions

View File

@ -241,8 +241,6 @@ module ActionView
end
def write_fragment_for(name, options)
# VIEW TODO: Make #capture usable outside of ERB
# This dance is needed because Builder can't use capture
pos = output_buffer.length
yield
output_safe = output_buffer.html_safe?