[Cookbook][Routing] Fixed wrong method definition

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