aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/getting_started.md
diff options
context:
space:
mode:
authorDouglas Teoh <douglas@dteoh.com>2013-05-04 17:44:54 +1000
committerDouglas Teoh <douglas@dteoh.com>2013-05-04 17:44:54 +1000
commit714bb17aea08dc043b1b3e7e7c87b7afa78c5a26 (patch)
treef32d60e4c8c905952a0a9bdedeef206c4cfeadc6 /guides/source/getting_started.md
parent404c1a32461f8eb57bd20c58fdfb846c94daaa92 (diff)
downloadrails-714bb17aea08dc043b1b3e7e7c87b7afa78c5a26.tar.gz
rails-714bb17aea08dc043b1b3e7e7c87b7afa78c5a26.tar.bz2
rails-714bb17aea08dc043b1b3e7e7c87b7afa78c5a26.zip
Remove unopened closing brace.
Diffstat (limited to 'guides/source/getting_started.md')
-rw-r--r--guides/source/getting_started.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md
index 068f704bc9..da17d59d3c 100644
--- a/guides/source/getting_started.md
+++ b/guides/source/getting_started.md
@@ -853,8 +853,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="errorExplanation">
<h2><%= pluralize(@post.errors.count, "error") %> prohibited