diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2012-05-14 06:56:43 +1000 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2012-05-14 06:56:43 +1000 |
commit | dbd131fc0e9394438eb0e76796c89160a924b7ef (patch) | |
tree | ec4dde384dc398843bd13a299a9b6aa317165ec7 /guides/source/getting_started.textile | |
parent | 96fb77fe8000569ccc6b5bfd91668719bf92fa3d (diff) | |
download | rails-dbd131fc0e9394438eb0e76796c89160a924b7ef.tar.gz rails-dbd131fc0e9394438eb0e76796c89160a924b7ef.tar.bz2 rails-dbd131fc0e9394438eb0e76796c89160a924b7ef.zip |
Rails actually has one root route defined
Diffstat (limited to 'guides/source/getting_started.textile')
-rw-r--r-- | guides/source/getting_started.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/getting_started.textile b/guides/source/getting_started.textile index 540084eb15..3a5868b13e 100644 --- a/guides/source/getting_started.textile +++ b/guides/source/getting_started.textile @@ -232,7 +232,7 @@ The first thing that you are going to need to create a new post within the appli !images/getting_started/routing_error_no_route_matches.png(A routing error, no route matches /posts/new)! -This is because there is nowhere inside the routes for the application -- defined inside +config/routes.rb+ -- that defines this route. By default, Rails has no routes configured at all, and so you must define your routes as you need them. +This is because there is nowhere inside the routes for the application -- defined inside +config/routes.rb+ -- that defines this route. By default, Rails has no routes configured at all, besides the root route you defined earlier, and so you must define your routes as you need them. To do this, you're going to need to create a route inside +config/routes.rb+ file, on a new line between the +do+ and the +end+ for the +draw+ method: |