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:
parent
d94f9d9829
commit
29b91f4ba7
4
init.php
4
init.php
|
@ -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'),
|
||||
));
|
Loading…
Reference in a new issue