You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
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
Laravel 8 instance returning:
Invalid route action: [App\Http\Controllers\App\Http\Livewire\Something].
when navigating to a full-page Livewire component even though route is defined in tenant.php with Universal middleware. Route renders fine when in web.php
Steps to reproduce
Create a new livewire component
Add route param to tenant.php
Try to go navigate to tenant.php route
error presents itself.
Expected behavior
Livewire component should render and not throw respective error?
Your setup
Laravel version: 8.12.1
stancl/tenancy version:3.4
Update: I believe this may have something to do with the Route::namespace set within TenancyServiceProvider.
As of Laravel 8 I believe the namespace defaults back to null in RouteServiceProvider line 29?
Changing it to null in TenancyServiceProvider now renders the component...
I believe this may have something to do with the Route::namespace set within TenancyServiceProvider
Yeah, that's what the routes use.