Fixed deprecated route methods

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.2+
| Fixed tickets | #2719