Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

content_for returns empty string to avoid double rendering errors

  • Loading branch information...
commit 3601aca9c7d3833cb1dc5a779cca7b18b9e8f605 1 parent 155d928
@zelig zelig authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.