From 849f65bd8e2369d94ebc3b6aed93d503dfd9d895 Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 21 Feb 2014 16:33:42 +0100 Subject: [PATCH] Added documentation about routes beginning with "_" This "feature" has been undocumented for years. --- Resources/doc/usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/doc/usage.rst b/Resources/doc/usage.rst index 0d8cc44..4fa4e63 100755 --- a/Resources/doc/usage.rst +++ b/Resources/doc/usage.rst @@ -42,7 +42,7 @@ Some examples below:: Leaving routes untranslated ------------------------- -If you don't want to translate a single given route, you can disable it: +If you don't want to translate a single given route, you can begin the route name with "_" (e.g. "_contact") or disable it in the routing configuration: .. code-block :: yaml