From a271072f239ce813b46a5e53249d1ca77b8cf27b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Fri, 7 Nov 2014 16:02:18 +0100 Subject: [PATCH] precise the exception in case of missing parameter in url --- source/development/menus.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/development/menus.rst b/source/development/menus.rst index 5e6cda3ea..977591f1d 100644 --- a/source/development/menus.rst +++ b/source/development/menus.rst @@ -119,5 +119,5 @@ Caveats Currently, you may pass arguments globally to each menu, and they will be all passed to route url. This means that : * the argument name in the route entry must match the argument key in menu declaration in twig template -* if an argument is missing to generate an url, the url generator will throw an error +* if an argument is missing to generate an url, the url generator will throw a `Symfony\Component\Routing\Exception\MissingMandatoryParametersException` * if the argument name is not declared in route entry, it will be added to the url, (example: `/my/route?additional=foo`)