39 lines
985 B
PHP
39 lines
985 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Chevereto.
|
|
*
|
|
* (c) Rodolfo Berrios <rodolfo@chevereto.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
use function App\Controllers\legacyController;
|
|
use function Chevere\Router\route;
|
|
use function Chevere\Router\routes;
|
|
|
|
return routes(
|
|
route(
|
|
name: 'dashboard',
|
|
path: '/dashboard/',
|
|
GET: legacyController('route.dashboard.php'),
|
|
POST: legacyController('route.dashboard.php'),
|
|
),
|
|
route(
|
|
name: 'importer-jobs',
|
|
path: '/importer-jobs/',
|
|
GET: legacyController('route.importer-jobs.php'),
|
|
),
|
|
route(
|
|
name: 'install',
|
|
path: '/install/',
|
|
GET: legacyController('route.install.php'),
|
|
POST: legacyController('route.install.php'),
|
|
),
|
|
route(
|
|
name: 'update',
|
|
path: '/update/',
|
|
POST: legacyController('route.update.php'),
|
|
),
|
|
);
|