aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-05-06 10:43:33 +0200
committerYves Senn <yves.senn@gmail.com>2015-05-06 10:43:33 +0200
commitf4da2b7437758c0610c31bbd50f010e6bc49ac75 (patch)
tree0690589d255138193a14b9f734f5d9412f830291 /guides/source
parent2d1a7b9c76a2cde7531d7d3c544c630e916ed481 (diff)
downloadrails-f4da2b7437758c0610c31bbd50f010e6bc49ac75.tar.gz
rails-f4da2b7437758c0610c31bbd50f010e6bc49ac75.tar.bz2
rails-f4da2b7437758c0610c31bbd50f010e6bc49ac75.zip
docs, fix spelling. refs #20040 [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/getting_started.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md
index fee2d677c7..68ab454660 100644
--- a/guides/source/getting_started.md
+++ b/guides/source/getting_started.md
@@ -836,7 +836,7 @@ class ArticlesController < ApplicationController
def new
end
- # snipped for brevity
+ # snippet for brevity
```
A couple of things to note. We use `Article.find` to find the article we're
@@ -892,7 +892,7 @@ class ArticlesController < ApplicationController
def new
end
- # snipped for brevity
+ # snippet for brevity
```
And then finally, add the view for this action, located at
@@ -2000,7 +2000,7 @@ class ArticlesController < ApplicationController
@articles = Article.all
end
- # snipped for brevity
+ # snippet for brevity
```
We also want to allow only authenticated users to delete comments, so in the
@@ -2016,7 +2016,7 @@ class CommentsController < ApplicationController
# ...
end
- # snipped for brevity
+ # snippet for brevity
```
Now if you try to create a new article, you will be greeted with a basic HTTP