Permalink
Browse files

content_for returns empty string to avoid double rendering errors

  • Loading branch information...
1 parent 155d928 commit 3601aca9c7d3833cb1dc5a779cca7b18b9e8f605 @zelig zelig committed Nov 12, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/erector/rails3.rb
View
@@ -126,6 +126,7 @@ def content_for(*args,&block)
helpers.content_for(*args,&block)
else
rawtext(helpers.content_for(*args))
+ ''
end
end

0 comments on commit 3601aca

Please sign in to comment.