How to add parameter tenant inside Pages ?

The BusinessProfile is pages, how do I define tenant slug ? I cannot find where should I define the routing ...
No description
Solution:
Sorry problem solve , my mistake . I did not insert data in column slug ..
Jump to solution
4 Replies
Dennis Koch
Dennis Koch9mo ago
Please share some information on what you did. Just a screenshot of an error is not enough
khairulazmi_
khairulazmi_OP9mo ago
I have started build a project, and I want to implement Multi tenancy inside filament project . when I add
->tenant(Company::class, slugAttribute: 'slug')
->tenant(Company::class, slugAttribute: 'slug')
some how my project cant detect tenant slug . for example I got this error when trying to access dashboard
Missing required parameter for [Route: filament.admin.pages.dashboard] [URI: admin/{tenant}] [Missing parameter: tenant].
Missing required parameter for [Route: filament.admin.pages.dashboard] [URI: admin/{tenant}] [Missing parameter: tenant].
I assume tenant parameter should be pass automatically. Or should I done something on my end ?
Dennis Koch
Dennis Koch9mo ago
You also did set up your User model?
Solution
khairulazmi_
khairulazmi_9mo ago
Sorry problem solve , my mistake . I did not insert data in column slug ..
Want results from more Discord servers?
Add your server