aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/engines.md
diff options
context:
space:
mode:
authorMichel Grootjans <michel.grootjans@gmail.com>2012-11-20 14:18:05 +0100
committerMichel Grootjans <michel.grootjans@gmail.com>2012-11-20 14:18:05 +0100
commit62c34f0df29e3c33a632f54e8bd1ae350a14c15f (patch)
treeeff3e23b5fc5041e65345202372a608b9741848e /guides/source/engines.md
parente410b5bff7d9a389f2c72f0ae4a51e5a558c6c54 (diff)
downloadrails-62c34f0df29e3c33a632f54e8bd1ae350a14c15f.tar.gz
rails-62c34f0df29e3c33a632f54e8bd1ae350a14c15f.tar.bz2
rails-62c34f0df29e3c33a632f54e8bd1ae350a14c15f.zip
bug in example '<%= form_for ...' should be '<% form_for ...'
Diffstat (limited to 'guides/source/engines.md')
-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 f9bbff1c4c..caa2e53f52 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 %>