From a433edf186b2f702b1d62f1654e30d4cf1417e7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Sun, 24 May 2020 21:17:15 +0200 Subject: [PATCH] Fix route publishing --- src/TenancyServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TenancyServiceProvider.php b/src/TenancyServiceProvider.php index a8d39021..0a92aacb 100644 --- a/src/TenancyServiceProvider.php +++ b/src/TenancyServiceProvider.php @@ -92,7 +92,7 @@ class TenancyServiceProvider extends ServiceProvider ], 'impersonation-migrations'); $this->publishes([ - __DIR__ . '/../assets/tenant_routes.stub.php' => config_path('tenancy.php'), + __DIR__ . '/../assets/tenant_routes.stub.php' => base_path('routes/tenancy.php'), ], 'routes'); $this->publishes([