Skip to content
Browse files

bug in example '<%= form_for ...' should be '<% form_for ...'

  • Loading branch information...
1 parent e410b5b commit 62c34f0df29e3c33a632f54e8bd1ae350a14c15f @michelgrootjans michelgrootjans committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/engines.md
View
2 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 %>

0 comments on commit 62c34f0

Please sign in to comment.
Something went wrong with that request. Please try again.