Skip to content

Devtools 404 error #1194

Closed Answered by JackVanson
JackVanson asked this question in Q&A (Help)
Oct 14, 2024 · 4 comments · 3 replies
Discussion options

You must be logged in to vote

I've worked it out. Keeping a note on here just in case someone else has the same issue. I created my own DevToolsRouteServiceProvider, making sure i use php artisan to create it so it was registered in composer.json then I just override the routes in the boot. like so.

    public function boot(): void
    {
        Route::group([
            'prefix' => config('backpack.base.route_prefix', 'admin').'/devtools',
            'middleware' => array_merge(
                (array) config('backpack.base.web_middleware', 'web'),
                (array) config('backpack.base.middleware_key', 'admin'),
            ),
            'namespace' => 'Backpack\DevTools\Http\Controllers',
            'nam…

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@JackVanson
Comment options

@JackVanson
Comment options

@JackVanson
Comment options

Answer selected by jcastroa87
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants