mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
docs, fix spelling. refs #20040 [ci skip]
This commit is contained in:
parent
2d1a7b9c76
commit
f4da2b7437
1 changed files with 4 additions and 4 deletions
|
@ -836,7 +836,7 @@ class ArticlesController < ApplicationController
|
||||||
def new
|
def new
|
||||||
end
|
end
|
||||||
|
|
||||||
# snipped for brevity
|
# snippet for brevity
|
||||||
```
|
```
|
||||||
|
|
||||||
A couple of things to note. We use `Article.find` to find the article we're
|
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
|
def new
|
||||||
end
|
end
|
||||||
|
|
||||||
# snipped for brevity
|
# snippet for brevity
|
||||||
```
|
```
|
||||||
|
|
||||||
And then finally, add the view for this action, located at
|
And then finally, add the view for this action, located at
|
||||||
|
@ -2000,7 +2000,7 @@ class ArticlesController < ApplicationController
|
||||||
@articles = Article.all
|
@articles = Article.all
|
||||||
end
|
end
|
||||||
|
|
||||||
# snipped for brevity
|
# snippet for brevity
|
||||||
```
|
```
|
||||||
|
|
||||||
We also want to allow only authenticated users to delete comments, so in the
|
We also want to allow only authenticated users to delete comments, so in the
|
||||||
|
@ -2016,7 +2016,7 @@ class CommentsController < ApplicationController
|
||||||
# ...
|
# ...
|
||||||
end
|
end
|
||||||
|
|
||||||
# snipped for brevity
|
# snippet for brevity
|
||||||
```
|
```
|
||||||
|
|
||||||
Now if you try to create a new article, you will be greeted with a basic HTTP
|
Now if you try to create a new article, you will be greeted with a basic HTTP
|
||||||
|
|
Loading…
Reference in a new issue