1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #35570 from shailesh-kalamkar/fix-routing-expanded-option-example

[ci skip] Fixed expanded option route example
This commit is contained in:
Ryuta Kamizono 2019-03-11 23:19:28 +09:00 committed by GitHub
commit 4304373788
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1195,22 +1195,22 @@ You can also use the `--expanded` option to turn on the expanded table formattin
```
$ rails routes --expanded
--[ Route 1 ]-----------------------------------------------------------------
--[ Route 1 ]----------------------------------------------------
Prefix | users
Verb | GET
URI | /users(.:format)
Controller#Action | users#index
--[ Route 2 ]-----------------------------------------------------------------
--[ Route 2 ]----------------------------------------------------
Prefix |
Verb | POST
URI | /users(.:format)
Controller#Action | users#create
--[ Route 3 ]-----------------------------------------------------------------
--[ Route 3 ]----------------------------------------------------
Prefix | new_user
Verb | GET
URI | /users/new(.:format)
Controller#Action | users#new
--[ Route 4 ]-----------------------------------------------------------------
--[ Route 4 ]----------------------------------------------------
Prefix | edit_user
Verb | GET
URI | /users/:id/edit(.:format)