mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 20:54:03 +00:00
Use Telescope tags on universal routes too - fix #346
This commit is contained in:
parent
5044339da6
commit
56903d20bf
2 changed files with 6 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ class PreventAccessFromTenantDomains
|
|||
return $next($request);
|
||||
}
|
||||
|
||||
public function routeHasMiddleware(Route $route, $middleware): bool
|
||||
public static function routeHasMiddleware(Route $route, $middleware): bool
|
||||
{
|
||||
if (in_array($middleware, $route->middleware(), true)) {
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue