Replies: 5 comments 8 replies
-
Hmm.. Maybe try adding this instead, not sure: ->url(static fn () => url(Pages\Dashboard::getUrl(panel: 'company', tenant: Auth::user()?->personalCompany()))) |
Beta Was this translation helpful? Give feedback.
-
I tried your solution above and got |
Beta Was this translation helpful? Give feedback.
-
Maybe you can see the problem if I give you the relevant files:
`
` |
Beta Was this translation helpful? Give feedback.
-
i am also seeing from phpactor that
on the line
in the default admin panel provider. process was installing laravel with sail, then installing filament, then companies plugin without socialite. |
Beta Was this translation helpful? Give feedback.
-
@tzual @richoid Here is an example app that is set up correctly: https://github.com/andrewdwallo/filament-companies-example-app |
Beta Was this translation helpful? Give feedback.
-
I'm getting the error:
"Missing required parameter for [Route: filament.company.pages.dashboard] [URI: company/{tenant}] [Missing parameter: tenant]."
The full line throwing the error:
->url(static fn () => url(Pages\Dashboard::getUrl(panel: 'company', tenant: Auth::user()->personalCompany())))
This is on a basic Laravel install (no Breeze or Jetstream). I just installed Laravel (using Herd) then added Filament, then Companies.
Beta Was this translation helpful? Give feedback.
All reactions