diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 7ae033bf..6870a17c 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -2,4 +2,7 @@ blank_issues_enabled: false contact_links: - name: Support Questions & Other url: https://github.com/stancl/tenancy/blob/3.x/SUPPORT.md - about: 'If you have a question or need help using the package' + about: 'If you have a question or need help using the package.' + - name: Documentation Issue + url: https://github.com/stancl/tenancy-docs/issues + about: 'Suggest how the documentation could be improved.' diff --git a/.github/ISSUE_TEMPLATE/documentation-issue.md b/.github/ISSUE_TEMPLATE/documentation-issue.md deleted file mode 100644 index 7fc7ec35..00000000 --- a/.github/ISSUE_TEMPLATE/documentation-issue.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -name: "\U0001F4DA Documentation Issue" -about: Suggest how the documentation could be improved. -title: '' -labels: documentation -assignees: stancl - ---- - - diff --git a/assets/TenancyServiceProvider.stub.php b/assets/TenancyServiceProvider.stub.php index 87c5c814..1dc58a3d 100644 --- a/assets/TenancyServiceProvider.stub.php +++ b/assets/TenancyServiceProvider.stub.php @@ -136,7 +136,7 @@ class TenancyServiceProvider extends ServiceProvider Middleware\InitializeTenancyByRequestData::class, ]; - foreach ($tenancyMiddleware as $middleware) { + foreach (array_reverse($tenancyMiddleware) as $middleware) { $this->app[\Illuminate\Contracts\Http\Kernel::class]->prependToMiddlewarePriority($middleware); } } diff --git a/assets/config.php b/assets/config.php index b335224d..e89c6c9d 100644 --- a/assets/config.php +++ b/assets/config.php @@ -92,7 +92,7 @@ return [ /** * Filesystem tenancy config. Used by FilesystemTenancyBootstrapper. - * https://tenancy.samuelstancl.me/docs/v2/filesystem-tenancy/. + * https://tenancyforlaravel.com/docs/v3/tenancy-bootstrappers/#filesystem-tenancy-boostrapper. */ 'filesystem' => [ /** @@ -108,7 +108,7 @@ return [ /** * Use this for local disks. * - * See https://tenancy.samuelstancl.me/docs/v2/filesystem-tenancy/ + * See https://tenancyforlaravel.com/docs/v3/tenancy-bootstrappers/#filesystem-tenancy-boostrapper */ 'root_override' => [ // Disks whose roots should be overriden after storage_path() is suffixed. @@ -165,8 +165,8 @@ return [ // Stancl\Tenancy\Features\UserImpersonation::class, // Stancl\Tenancy\Features\TelescopeTags::class, // Stancl\Tenancy\Features\UniversalRoutes::class, - // Stancl\Tenancy\Features\TenantConfig::class, // https://tenancy.samuelstancl.me/docs/v2/features/tenant-config/ - // Stancl\Tenancy\Features\CrossDomainRedirect::class, // https://tenancy.samuelstancl.me/docs/v2/features/tenant-redirect/ + // Stancl\Tenancy\Features\TenantConfig::class, // https://tenancyforlaravel.com/docs/v3/features/tenant-config + // Stancl\Tenancy\Features\CrossDomainRedirect::class, // https://tenancyforlaravel.com/docs/v3/features/cross-domain-redirect ], /**