We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a60b174 commit 4c02802Copy full SHA for 4c02802
resources/views/partials/nav.blade.php
@@ -64,7 +64,9 @@
64
{{-- Authentication Links --}}
65
@guest
66
<li><a class="nav-link" href="{{ route('login') }}">{{ trans('titles.login') }}</a></li>
67
- <li><a class="nav-link" href="{{ route('register') }}">{{ trans('titles.register') }}</a></li>
+ @if (Route::has('register'))
68
+ <li><a class="nav-link" href="{{ route('register') }}">{{ trans('titles.register') }}</a></li>
69
+ @endif
70
@else
71
<li class="nav-item dropdown">
72
<a id="navbarDropdown" class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" v-pre>
0 commit comments