From 924b5abba6cbcddb0c70bd5c2d7abfff50073674 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Thu, 23 Apr 2020 21:10:30 +0200 Subject: [PATCH 1/3] @dillingham credits for logo [ci skip] --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fe219e99..a91ce3a4 100644 --- a/README.md +++ b/README.md @@ -30,5 +30,5 @@ The repository with the documentation source code can be found here: [stancl/ten ### Credits -- Created by [Samuel Štancl](https://github.com/stancl) -- Logo by [Caneco](https://twitter.com/caneco) +- Created by [Samuel Štancl](https://twitter.com/samuelstancl) +- Logo by [Brian Dillingham](https://twitter.com/dillinghammm) From 94e647c9525ad569054bf40ece20e44e45dd0544 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Fri, 24 Apr 2020 04:10:25 +0200 Subject: [PATCH 2/3] Return $tags when route is empty --- src/Features/TelescopeTags.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Features/TelescopeTags.php b/src/Features/TelescopeTags.php index 079c6fb5..fe63ef93 100644 --- a/src/Features/TelescopeTags.php +++ b/src/Features/TelescopeTags.php @@ -31,6 +31,10 @@ class TelescopeTags implements Feature Telescope::tag(function (IncomingEntry $entry) { $tags = $this->getTags($entry); + if (! request()->route()) { + return $tags; + } + $tenantRoute = PreventAccessFromTenantDomains::routeHasMiddleware(request()->route(), 'tenancy') || PreventAccessFromTenantDomains::routeHasMiddleware(request()->route(), 'universal'); From 7c88e883cf85e36713252d3dd6f2d0421ca9300c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Fri, 24 Apr 2020 20:21:42 +0200 Subject: [PATCH 3/3] Update config.php --- assets/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/config.php b/assets/config.php index 2539b9be..508b79d9 100644 --- a/assets/config.php +++ b/assets/config.php @@ -67,7 +67,7 @@ return [ ], /** - * Controller namespace used for routes in routes/tenant.php. + * Controller namespace used by routes in routes/tenant.php. */ 'tenant_route_namespace' => 'App\Http\Controllers',