Archived
lastest
This commit is contained in:
1 parent
620fc5bda1
commit
bd3ef9f279
779 files changed
+202868
No files matched your search
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
use CodeIgniter\Router\RouteCollection;
|
||||
|
||||
use App\Controllers\Item;
|
||||
use App\Controllers\Cart;
|
||||
|
||||
/**
|
||||
* @var RouteCollection $routes
|
||||
*/
|
||||
$routes->get('/', 'Home::index');
|
||||
|
||||
$routes->get('item/page', [Item::class, 'index']);
|
||||
$routes->get('item/product/(:num)', [Item::class, 'show']);
|
||||
$routes->addRedirect('item', 'item/page' );
|
||||
|
||||
$routes->get('cart', [Cart::class, 'index']);
|
||||
Reference in new issue
Block a user