From 60de2ed71a345d76d1c48d861abe3fbc655df1f5 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 12 Apr 2023 17:56:23 +0200 Subject: [PATCH] wip #5834 @0.25 | Allows to define custom routes for a project --- src/resources/cubistmagic/routes.stub | 4 ++++ 1 file changed, 4 insertions(+) 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'; + } }); -- 2.39.5