1
0
Fork 0
mirror of https://github.com/Oreolek/kohana-multilang.git synced 2024-05-04 10:08:17 +03:00

Bug in Readme.md

This commit is contained in:
Hamlet 2013-06-27 10:30:38 -07:00
parent d4e7d8d246
commit c754d49fed

View file

@ -55,15 +55,15 @@ If you try to access `http://www.domain.tld/`, the module will redirect it to `h
Let's say we have a product page, with kohana 3 we'd have something like :
Route::set('product.details', 'products/<product_id>-<product_slug>', array(
'product_id' => '[0-9]+',
'product_slug' => '.+',
))->defaults(array(
'controller' => 'Product',
'action' => 'details',
'product_id' => NULL,
'product_slug' => '',
));
Route::set('product.details', 'products/<product_id>-<product_slug>', array(
'product_id' => '[0-9]+',
'product_slug' => '.+',
))->defaults(array(
'controller' => 'Product',
'action' => 'details',
'product_id' => NULL,
'product_slug' => '',
));