@if(\Route::getFacadeRoot()->current()->uri() == 'dashboard' || \Route::getFacadeRoot()->current()->uri() == 'welcome' || \Route::getFacadeRoot()->current()->uri() == 'change-password' ||
\Route::getFacadeRoot()->current()->uri() == 'not-found' )@endif
Asked
Active
Viewed 35 times
-3

splash58
- 26,043
- 3
- 22
- 34

creedcoder
- 1
- 3
-
1Add `` at start of the page – splash58 Nov 21 '17 at 08:47
-
it is a blade.php file – creedcoder Nov 21 '17 at 08:57
1 Answers
0
In case of PHP, add <?php
at the beggining of the file and ?>
at the end of the file.
Other than PHP, search online.

Artis Zel
- 61
- 4