1
0
Fork 0
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:
Jason Noble 2011-11-13 01:27:14 -07:00
parent 703d5c2033
commit 434fbe454c

View file

@ -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: