Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove unopened closing brace.

  • Loading branch information...
commit ada2253bb95abf4bf8097a05038a7d60e4b82512 1 parent 57e3e0c
Douglas Teoh dteoh authored zzak committed
Showing with 1 addition and 2 deletions.
  1. +1 −2  guides/source/getting_started.md
3  guides/source/getting_started.md
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.