aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--guides/source/engines.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/engines.md b/guides/source/engines.md
index caa2e53f52..f9bbff1c4c 100644
--- a/guides/source/engines.md
+++ b/guides/source/engines.md
@@ -341,7 +341,7 @@ Next, the partial that this line will render needs to exist. Create a new direct
```html+erb
<h3>New comment</h3>
-<% form_for [@post, @post.comments.build] do |f| %>
+<%= form_for [@post, @post.comments.build] do |f| %>
<p>
<%= f.label :text %><br />
<%= f.text_area :text %>