Update explanation to match example
This commit is contained in:
parent
2ab3bd16f9
commit
ff47b0518b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user