Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Target class [admin] does not exist. #85

Open
dexter288 opened this issue Oct 10, 2022 · 2 comments
Open

Target class [admin] does not exist. #85

dexter288 opened this issue Oct 10, 2022 · 2 comments

Comments

@dexter288
Copy link

Illuminate\ Contracts\ Container\ BindingResolutionException Target class [admin] does not exist.
PHP 8.1.0
laravel version 9.34.0

@skhairipulse
Copy link

/* Default view */
'template' => 'dotenv-editor::master',
'overview' => 'dotenv-editor::overview',

/* This is my custom view, do not using */
// 'template'        => 'adminlte::page',
// 'overview'        => 'dotenv-editor::overview-adminlte',

// Config route group
'route'           => [
    'namespace'  => 'Brotzka\DotenvEditor\Http\Controllers',
    'prefix'     => 'admin/env',
    'as'         => 'admin.env.',
    //'middleware' => ['web', 'admin'],
],

made this changes for the route to work

@AhmedHelalAhmed
Copy link

AhmedHelalAhmed commented Aug 11, 2024

@skhairipulse these changes works for me Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants