提交 434fbe45 编写于 作者: J Jason Noble

Update wording to flow better

上级 703d5c20
......@@ -515,8 +515,8 @@ file_ which holds entries in a special DSL (domain-specific language) that tells
Rails how to connect incoming requests to controllers and actions. This file
contains many sample routes on commented lines, and one of them actually shows
you how to connect the root of your site to a specific controller and action.
Find the line beginning with +root :to+, uncomment it and change it like the
following:
Find the line beginning with +root :to+, uncomment it by removing the pound sign
at the beginning of the line. It should look something like the following:
<ruby>
Blog::Application.routes.draw do
......@@ -544,7 +544,7 @@ resource in a single operation, scaffolding is the tool for the job.
h3. Creating a Resource
In the case of the blog application, you can start by generating a scaffolded
In the case of the blog application, you can start by generating a scaffold for the
Post resource: this will represent a single blog posting. To do this, enter this
command in your terminal:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册