mardi 23 janvier 2018

Laravel hide code if requested Path was

Theres any Solution to hide an Code in Laravel for one Page?

With this i can display only one requested page ,Example:

 @if (Request::path() == 'message/send')
 @endif

Theres an opposite to hide an code for an path?

I have an URL also with after send an Username:

message/send/username

I have try: @if (Request::path() == 'message/send/') and @if (Request::path() == 'message/send/') but dont work.

Thanks



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire