mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 13:24:03 +00:00
routeIs() check
This commit is contained in:
parent
dd3c8276e2
commit
127d3cee4e
1 changed files with 7 additions and 5 deletions
|
|
@ -24,9 +24,11 @@
|
|||
</li>
|
||||
</ul>
|
||||
|
||||
@if(! request()->routeIs('tip.index'))
|
||||
<div class="mt-3">
|
||||
<a href="/" class="transition border-b-2 border-pink-100 hover:border-pink-900 focus:outline-none focus:border-pink-900">
|
||||
All tips
|
||||
</a>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue