非ログイン時にはアカウントメニューを出力しない
ログイン情報がないのに参照してコケていた
This commit is contained in:
parent
de740082b7
commit
c9cdd26728
@ -37,6 +37,7 @@
|
||||
|
||||
<div class="container">
|
||||
<a href="{{ route('home') }}" class="navbar-brand mr-auto">{{ config('app.name', 'Tissue') }}</a>
|
||||
@auth
|
||||
<div class="d-lg-none navbar-nav">
|
||||
<div class="nav-item dropdown">
|
||||
<a href="#" class="nav-link dropdown-toggle p-2" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
@ -55,6 +56,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endauth
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
Loading…
Reference in New Issue
Block a user