mirror of
https://github.com/chevereto/chevereto.git
synced 2026-07-14 18:01:43 +02:00
Automatic push 4.0.5
This commit is contained in:
39
app/routing/admin.web.php
Normal file
39
app/routing/admin.web.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?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'),
|
||||
),
|
||||
);
|
||||
Reference in New Issue
Block a user