1
0
Fork 0
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:
Kasper Timm Hansen 2017-02-21 21:11:39 +01:00
parent f3d729f753
commit e31e992ad8

View file

@ -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