This commit is contained in:
Danni committed 2026-09-20 13:07:50 +07:00
1 parent 620fc5bda1
commit bd3ef9f279
779 files changed
+202868

No files matched your search

+17
View File
@@ -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']);