I need to check 2 routes, and if one is true, add some content
@if (Route::current()->uri() != '/' || Route::current()->uri() != 'login')<div>add some content some contnt </div> @endif
I have tried with '||' and 'OR' and 'or'. I have also tried with Request::path()
, which works only when checking 1 route
@if (Route::current()->uri() != '/') <div>add some content some contnt </div> @endif
If I try 2 routes it doesn't seem to work