-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
Cannot change admin prefix #8
Comments
Thanks for the report. I'll look into it either today or on Wednesday. |
Vanilo doc wasn't specific enough, I've updated it. In the config file (
So your route definitions in return [
'modules' => [
Konekt\AppShell\Providers\ModuleServiceProvider::class => [
'ui' => [
'name' => 'My App Admin',
'url' => '/myadmin/product' //or whatever your admin start url should be
],
'routes' => [
'prefix' => 'myadmin',
'middleware' => ['web', 'auth', 'acl'],
'files' => ['web'],
'as' => 'appshell.'
],
],
Vanilo\Framework\Providers\ModuleServiceProvider::class => [
'routes' => [
'prefix' => 'myadmin',
'middleware' => ['web', 'auth', 'acl'],
'files' => ['admin'],
'as' => 'vanilo.'
],
]
]
]; |
Thank you for the clarification. I've tried some variations, but did not include the 'files' option. |
Prevents problems like issue #8 from silently happening.
When adding Framework / AppShell configuration for routes -> prefix in concord.php, an exception is raised:
DaveJamesMiller\Breadcrumbs\Exceptions\DuplicateBreadcrumbException : Breadcrumb name "home" has already been registered
The text was updated successfully, but these errors were encountered: