danhumphrey89
9/7/2017 - 10:23 AM

Ternary inline class check - This checks if the request matches a particular string then appends a class if it does.

Ternary inline class check - This checks if the request matches a particular string then appends a class if it does.

{{ request()->is('campaign-e*') ? 'mob-hide' : '' }}