1
0
Fork 0
mirror of https://github.com/Oreolek/kohana-multilang.git synced 2024-04-25 13:49:30 +03:00
This commit is contained in:
Hamlet 2013-06-27 23:02:07 -07:00
parent c754d49fed
commit b016642d86

View file

@ -95,7 +95,7 @@ If you wanna create a route for only one language, you're gonna have to pass a 4
'action' => 'made_in_france',
));
And then to get it `Route::get('fr.product.made-in-france')` or `Route::get('product.made-in-france', 'fr)`.
And then to get it `Route::get('fr.product.made-in-france')` or `Route::get('product.made-in-france', 'fr')`.
The default route is particular and its declaration is set in init.php. Since it doesnt need any translations and has a different behaviour (we wanna keep the trailing slash), we create a custom route that alows all the languages.