Skip to content

Commit

Permalink
Merge pull request #11127 from jetthoughts/ask_user_add_line_to_route…
Browse files Browse the repository at this point in the history
…s_in_guide

Asking user to declare post resource in getting start guide
  • Loading branch information
senny committed Jun 27, 2013
2 parents 6d7477e + 9d9b4b5 commit ca81874
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/source/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca81874

Please sign in to comment.