Update wording to flow better

This commit is contained in:
Jason Noble 2011-11-13 01:27:14 -07:00
parent 703d5c2033
commit 434fbe454c
1 changed files with 3 additions and 3 deletions

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: