dashboard route
Hello. I have a problem with dashboard config
I have a Category and CategoryArticle Models
I have a dashboard config in twill.php
With config like that id i go to dashboard I have a error
my route twill.php file
where I make a error.?
Thx for answer
10 Replies
when I change name from
categoryArticle
to categories.articles
I have other error Target class [App\Repositories\Categories.articleRepository] does not exist.
Try to setup it like this
Change the name of the Models if needed, this just an example. @bohous
thnks but to same error.
my config now
error
\App\Models\CategoryArticle
. Try to use nested module route there.my setup is step to step to same as in documentation for nested modules. what kind of route you mean.?
but it is look like for parent-child modules the dashboard isnt work . may some code improvement will be help.
if will be there a new array key for that purpose. In fashboardController:529 . Anytime isnt way to ovveride that class.?
To be honest, idk really how that should work. Ping @ifox.dev
in a dashboard.modules entry you can specify a
repository
keyGitHub
twill/DashboardController.php at 29db4a8c6ce25263c0c3f86ecdff568b0d...
Twill is an open source CMS toolkit for Laravel that helps developers rapidly create a custom admin console that is intuitive, powerful and flexible. Chat with us on Discord at https://discord.gg/c...