Updated an example about using service container parameters in routes

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?  | no
| Applies to    | 2.2, 2.3 and master at least
| Fixed tickets | -