aboutsummaryrefslogtreecommitdiff
path: root/resources/views/inc/navbar.blade.php
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-28 00:19:52 +0100
committerMateja <mail@matejamaric.com>2020-10-28 00:19:52 +0100
commit806b02418b9ee53039de96baf9cfcca1c6fa9257 (patch)
tree1ce01e02f33bd1e6349f7e4a9a9d168f683496bc /resources/views/inc/navbar.blade.php
parenta3d432a6a0710261149fdaecdc2a5a62a82fe303 (diff)
downloadyota-laravel-806b02418b9ee53039de96baf9cfcca1c6fa9257.tar.gz
yota-laravel-806b02418b9ee53039de96baf9cfcca1c6fa9257.zip
Authentication implemented.
Diffstat (limited to 'resources/views/inc/navbar.blade.php')
-rw-r--r--resources/views/inc/navbar.blade.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/views/inc/navbar.blade.php b/resources/views/inc/navbar.blade.php
index 01b73f1..aa28eae 100644
--- a/resources/views/inc/navbar.blade.php
+++ b/resources/views/inc/navbar.blade.php
@@ -25,7 +25,7 @@
<a class="dropdown-item" href="#">Reservations</a>
</div>
</div>
- <a href="#" class="nav-item nav-link">Logout</a>
+ <a href="{{ route('logout') }}" class="nav-item nav-link">Logout</a>
@else
<a href="{{ route('login') }}" class="nav-item nav-link {{ request()->routeIs('login') ? 'active' : '' }}">Login</a>
@endif