From 760a6fd95d928e59d902581a265663d7a4a734ef Mon Sep 17 00:00:00 2001 From: Samuel Stancl Date: Sun, 26 Jul 2020 21:47:00 +0200 Subject: [PATCH] fix link --- source/docs/v3/single-database-tenancy.blade.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/docs/v3/single-database-tenancy.blade.md b/source/docs/v3/single-database-tenancy.blade.md index 8e954fd..d4f12aa 100644 --- a/source/docs/v3/single-database-tenancy.blade.md +++ b/source/docs/v3/single-database-tenancy.blade.md @@ -118,9 +118,7 @@ The `unique` and `exists` validation rules of course aren't scoped to the curren Rule::unique('posts', 'slug')->where('tenant_id', tenant('id')); ``` -If that feels like a chore, you may use the `Stancl\Tenancy\Database\Concerns\HasScopedValidationRules` trait on your custom *Tenant* model to add methods for these two rules. - -[Tenants](Tenants%20e929a50afae2436c936b323fab4a0f60.md) +If that feels like a chore, you may use the `Stancl\Tenancy\Database\Concerns\HasScopedValidationRules` trait on your custom [Tenant]({{ $page->link('tenants') }}) model to add methods for these two rules. You'll be able to use these two methods: