Commit f1906e07 authored by Gilles Doge's avatar Gilles Doge

[doc] /{locale} -> /{_locale}

parent 6d7cf048
...@@ -81,7 +81,7 @@ the ``translator.domains`` parameter:: ...@@ -81,7 +81,7 @@ the ``translator.domains`` parameter::
), ),
); );
$app->get('/{locale}/{message}/{name}', function ($message, $name) use ($app) { $app->get('/{_locale}/{message}/{name}', function ($message, $name) use ($app) {
return $app['translator']->trans($message, array('%name%' => $name)); return $app['translator']->trans($message, array('%name%' => $name));
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment