diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-03-11 23:19:28 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-11 23:19:28 +0900 |
commit | 4304373788fda6fa0fb1d6bac4ef78fb1ecac3dd (patch) | |
tree | a847f6203e19fb4c73420ea18befe31fd9bbb063 /guides/source | |
parent | c41269ebc8d1f608e5161f932fb6a3ae7c85a562 (diff) | |
parent | 4a39a8da2fbbbd3e98f34bd97109715cba37a78f (diff) | |
download | rails-4304373788fda6fa0fb1d6bac4ef78fb1ecac3dd.tar.gz rails-4304373788fda6fa0fb1d6bac4ef78fb1ecac3dd.tar.bz2 rails-4304373788fda6fa0fb1d6bac4ef78fb1ecac3dd.zip |
Merge pull request #35570 from shailesh-kalamkar/fix-routing-expanded-option-example
[ci skip] Fixed expanded option route example
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/routing.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/guides/source/routing.md b/guides/source/routing.md index 237ca56e1d..e3a6bbb138 100644 --- a/guides/source/routing.md +++ b/guides/source/routing.md @@ -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) |