aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2017-01-21 21:23:27 +0100
committerGitHub <noreply@github.com>2017-01-21 21:23:27 +0100
commitfb5bd3c6f2f29c3ed370e82db0d3de52a97a0648 (patch)
tree784a450c73c3f9fca6c05723d35510c163facfe1
parent66420cb7f0fde43d1d73b109ebb69e6d063dcc21 (diff)
parentc3e380f9694f501b42f8560f5aeb6942a14d9c39 (diff)
downloadrails-fb5bd3c6f2f29c3ed370e82db0d3de52a97a0648.tar.gz
rails-fb5bd3c6f2f29c3ed370e82db0d3de52a97a0648.tar.bz2
rails-fb5bd3c6f2f29c3ed370e82db0d3de52a97a0648.zip
Merge pull request #27760 from kenta-s/remove-unnecessary-comments-in-cache_helper
Remove unnecessary comments in cache_helper.rb [ci skip]
-rw-r--r--actionview/lib/action_view/helpers/cache_helper.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/actionview/lib/action_view/helpers/cache_helper.rb b/actionview/lib/action_view/helpers/cache_helper.rb
index 7fdf0fd0e1..15ab7e304f 100644
--- a/actionview/lib/action_view/helpers/cache_helper.rb
+++ b/actionview/lib/action_view/helpers/cache_helper.rb
@@ -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?