提交 f4da2b74 编写于 作者: Y Yves Senn

docs, fix spelling. refs #20040 [ci skip]

上级 2d1a7b9c
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册