Skip to content
Browse files

content_for returns empty string to avoid double rendering errors

  • Loading branch information...
1 parent 155d928 commit 3601aca9c7d3833cb1dc5a779cca7b18b9e8f605 @zelig zelig committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/erector/rails3.rb
View
1 lib/erector/rails3.rb
@@ -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.
Something went wrong with that request. Please try again.