Skip to content
Browse files

Merge pull request #11387 from zzak/backport_714bb17

Backport 714bb17
  • Loading branch information...
2 parents 9a6c063 + ada2253 commit e6a2f8dc4d47eb18f188b91dd648fdb09b4bdb25 @rafaelfranca rafaelfranca committed Jul 10, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 guides/source/getting_started.md
View
3 guides/source/getting_started.md
@@ -861,8 +861,7 @@ it look as follows:
```html+erb
<h1>Editing post</h1>
-<%= form_for :post, url: post_path(@post.id) },
-method: :patch do |f| %>
+<%= form_for :post, url: post_path(@post.id), method: :patch do |f| %>
<% if @post.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@post.errors.count, "error") %> prohibited

0 comments on commit e6a2f8d

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