mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Update wording to flow better
This commit is contained in:
parent
703d5c2033
commit
434fbe454c
1 changed files with 3 additions and 3 deletions
|
@ -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
|
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
|
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.
|
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
|
Find the line beginning with +root :to+, uncomment it by removing the pound sign
|
||||||
following:
|
at the beginning of the line. It should look something like the following:
|
||||||
|
|
||||||
<ruby>
|
<ruby>
|
||||||
Blog::Application.routes.draw do
|
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
|
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
|
Post resource: this will represent a single blog posting. To do this, enter this
|
||||||
command in your terminal:
|
command in your terminal:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue