1
0
Fork 0
mirror of https://github.com/Oreolek/kohana-multilang.git synced 2024-04-25 21:59:29 +03:00

updated the default route

This commit is contained in:
Sebastien Guibert 2011-07-01 18:58:27 +02:00
parent d94f9d9829
commit 29b91f4ba7

View file

@ -3,6 +3,8 @@
* The default route
* It's a bit tricky and particular since it got no translations.
* We need to create a general route for this one
*
* It is recommended to move this route into your bootstrap and adapt it.
*/
$languages = array();
@ -27,5 +29,5 @@ Route::set('default', $lang_param, array(
))->defaults(array(
'controller' => 'home',
'action' => 'index',
'lang' => NULL,
'lang' => Kohana::config('multilang.default'),
));