aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2018-03-12 14:55:58 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2018-03-12 14:55:58 +0100
commit7bede102d2fb279204665cb5c80249eace486021 (patch)
tree243cddf841beee58200e57ef5c983121bc2604b0
parent6fdc379c194db56e80747480bdd17ef5c3dcfc13 (diff)
downloadrails-7bede102d2fb279204665cb5c80249eace486021.tar.gz
rails-7bede102d2fb279204665cb5c80249eace486021.tar.bz2
rails-7bede102d2fb279204665cb5c80249eace486021.zip
[ci skip] Add missing do.
-rw-r--r--guides/source/routing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/routing.md b/guides/source/routing.md
index 971fd548f9..3cf5b56340 100644
--- a/guides/source/routing.md
+++ b/guides/source/routing.md
@@ -64,7 +64,7 @@ The routes for your application or engine live in the file `config/routes.rb` an
```ruby
Rails.application.routes.draw do
- resources :brands, only: [:index, :show]
+ resources :brands, only: [:index, :show] do
resources :products, only: [:index, :show]
end