Skip to content

Commit 4304373

Browse files
authored
Merge pull request rails#35570 from shailesh-kalamkar/fix-routing-expanded-option-example
[ci skip] Fixed expanded option route example
2 parents c41269e + 4a39a8d commit 4304373

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

guides/source/routing.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,22 +1195,22 @@ You can also use the `--expanded` option to turn on the expanded table formattin
11951195
```
11961196
$ rails routes --expanded
11971197
1198-
--[ Route 1 ]-----------------------------------------------------------------
1198+
--[ Route 1 ]----------------------------------------------------
11991199
Prefix | users
12001200
Verb | GET
12011201
URI | /users(.:format)
12021202
Controller#Action | users#index
1203-
--[ Route 2 ]-----------------------------------------------------------------
1203+
--[ Route 2 ]----------------------------------------------------
12041204
Prefix |
12051205
Verb | POST
12061206
URI | /users(.:format)
12071207
Controller#Action | users#create
1208-
--[ Route 3 ]-----------------------------------------------------------------
1208+
--[ Route 3 ]----------------------------------------------------
12091209
Prefix | new_user
12101210
Verb | GET
12111211
URI | /users/new(.:format)
12121212
Controller#Action | users#new
1213-
--[ Route 4 ]-----------------------------------------------------------------
1213+
--[ Route 4 ]----------------------------------------------------
12141214
Prefix | edit_user
12151215
Verb | GET
12161216
URI | /users/:id/edit(.:format)

0 commit comments

Comments
 (0)