diff options
author | Paul Nikitochkin <paul.nikitochkin@gmail.com> | 2013-06-26 21:52:49 +0300 |
---|---|---|
committer | Paul Nikitochkin <paul.nikitochkin@gmail.com> | 2013-06-27 22:21:29 +0300 |
commit | 9d9b4b51165e595b83f647141ed68e96293e2828 (patch) | |
tree | 96cfacb4050aa3dbb0f8c672ed5f4481fe66fed0 /guides | |
parent | 6d7477e87d637f5dea81c1a0d0fac114bbaa26a2 (diff) | |
download | rails-9d9b4b51165e595b83f647141ed68e96293e2828.tar.gz rails-9d9b4b51165e595b83f647141ed68e96293e2828.tar.bz2 rails-9d9b4b51165e595b83f647141ed68e96293e2828.zip |
Asking user to declare post resource in guide [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/getting_started.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md index e6c610e817..2574a2c111 100644 --- a/guides/source/getting_started.md +++ b/guides/source/getting_started.md @@ -252,8 +252,8 @@ Now that you've seen how to create a controller, an action and a view, let's cre In the Blog application, you will now create a new _resource_. A resource is the term used for a collection of similar objects, such as posts, people or animals. You can create, read, update and destroy items for a resource and these operations are referred to as _CRUD_ operations. -Rails provides a `resources` method which can be used to declare a -standard REST resource. Here's how `config/routes.rb` will look like. +Rails provides a `resources` method which can be used to declare a standard REST resource. +Here's what `config/routes.rb` should look like after the _post resource_ is declared. ```ruby Blog::Application.routes.draw do |