mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
Fix links
This commit is contained in:
parent
2530f17bc2
commit
4175a60f85
2 changed files with 2 additions and 2 deletions
|
|
@ -27,4 +27,4 @@ tenant()->create('tenant2.yourapp.com', [
|
||||||
|
|
||||||
The `create` method returns an array with tenant information (`uuid`, `domain` and whatever else you supplied).
|
The `create` method returns an array with tenant information (`uuid`, `domain` and whatever else you supplied).
|
||||||
|
|
||||||
> Note: Creating a tenant doesn't run [migrations](https://stancl-tenancy.netlify.com/docs/console-commands/#migrate) automatically. You have to do that yourself.
|
> Note: Creating a tenant doesn't run [migrations]({{ $page->link('console-commands/#migrate') }}) automatically. You have to do that yourself.
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<li class="list-reset pl-4">
|
<li class="list-reset pl-4">
|
||||||
@if ($url = is_string($item) ? $item : $item->url)
|
@if ($url = is_string($item) ? $item : $item->url)
|
||||||
{{-- Menu item with URL--}}
|
{{-- Menu item with URL--}}
|
||||||
<a href="{{ $page->link($url) }}"
|
<a href="{{ $page->url($url) ? $url : $page->link($url) }}"
|
||||||
class="{{ 'lvl' . $level }} {{ $page->isActiveParent($item) ? 'lvl' . $level . '-active' : '' }} {{ $page->isActive($url) ? 'active font-semibold text-blue' : '' }} nav-menu__item hover:text-blue"
|
class="{{ 'lvl' . $level }} {{ $page->isActiveParent($item) ? 'lvl' . $level . '-active' : '' }} {{ $page->isActive($url) ? 'active font-semibold text-blue' : '' }} nav-menu__item hover:text-blue"
|
||||||
>
|
>
|
||||||
{{ $label }}
|
{{ $label }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue