mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
[ci skip] Fix typos in direct/resolve changelog.
This commit is contained in:
parent
f3d729f753
commit
e31e992ad8
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
* Prefer `remove_method` over `undef_method` when reloading routes
|
||||
|
||||
When `undef_method` is used it prevents access to other implementations of that
|
||||
url helper in the ancestor chain so use `remove_method` instead to restores access.
|
||||
url helper in the ancestor chain so use `remove_method` instead to restore access.
|
||||
|
||||
*Andrew White*
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
|||
|
||||
``` ruby
|
||||
resource :basket
|
||||
direct(class: "Basket") { [:basket] }
|
||||
resolve(class: "Basket") { [:basket] }
|
||||
```
|
||||
|
||||
``` erb
|
||||
|
|
Loading…
Reference in a new issue