aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--actionpack/CHANGELOG.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index b47bcf3820..0167dcbf96 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -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