From: Vincent Vanwaelscappel Date: Wed, 12 Apr 2023 15:56:23 +0000 (+0200) Subject: wip #5834 @0.25 | Allows to define custom routes for a project X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=60de2ed71a345d76d1c48d861abe3fbc655df1f5;p=cubist_cms-back.git wip #5834 @0.25 | Allows to define custom routes for a project --- diff --git a/src/resources/cubistmagic/routes.stub b/src/resources/cubistmagic/routes.stub index b6008f6..85d8cf7 100644 --- a/src/resources/cubistmagic/routes.stub +++ b/src/resources/cubistmagic/routes.stub @@ -5,4 +5,8 @@ Route::group([ 'namespace' => 'App\Http\Controllers\Admin', ], function () { // custom admin routes _CUSTOM_ + + if (file_exists(__DIR__ . '/projectcustom.php')) { + require_once __DIR__ . '/projectcustom.php'; + } });