twill icon indicating copy to clipboard operation
twill copied to clipboard

Laravel 11 + catch-all route results in `/admin` route throwing 404

Open dcmastenbroek opened this issue 5 months ago • 3 comments

Description

The /admin route throws a 404 error when using a fresh Laravel 11 install and the basic-page-builder preset. I narrowed it down to the catch-all route that is being used: Route::get('{slug}', [\App\Http\Controllers\PageDisplayController::class, 'show'])->name('frontend.page');.

Steps to reproduce

Use a fresh install of Laravel 11 and go through the "Installation" steps defined in the docs and use the basic-page-builder starter kit.

Expected result

I can access the admin via /admin.

Actual result

A 404 error gets thrown when trying to access /admin.

Versions

Twill version: 3.3.1 Laravel version: 11 PHP version: 8.3 Database engine: MySQL

dcmastenbroek avatar Aug 28 '24 06:08 dcmastenbroek