aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2013-12-30 07:30:16 -0800
committerXavier Noria <fxn@hashref.com>2013-12-30 07:30:16 -0800
commit08a87c1e2cafb6a916346bceaf39a596188bc6f7 (patch)
treee5ce537ac20138d67231110707d4e07395526b32 /guides
parent2ab3bd16f926aaaf796156d7cf42ede8d1e8cd9b (diff)
parentff47b0518b4d97f6115f9c71ded1f8402b8b57d5 (diff)
downloadrails-08a87c1e2cafb6a916346bceaf39a596188bc6f7.tar.gz
rails-08a87c1e2cafb6a916346bceaf39a596188bc6f7.tar.bz2
rails-08a87c1e2cafb6a916346bceaf39a596188bc6f7.zip
Merge pull request #13539 from StevenNunez/patch-1
Update explanation to match example [ci skip]
Diffstat (limited to 'guides')
-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 019861c3d6..3375293b5a 100644
--- a/guides/source/routing.md
+++ b/guides/source/routing.md
@@ -138,7 +138,7 @@ Sometimes, you have a resource that clients always look up without referencing a
get 'profile', to: 'users#show'
```
-Passing a `String` to `match` will expect a `controller#action` format, while passing a `Symbol` will map directly to an action:
+Passing a `String` to `get` will expect a `controller#action` format, while passing a `Symbol` will map directly to an action:
```ruby
get 'profile', to: :show