condition ternary in login route code example Example: ternary operator laravel blade //laravel {{ condition ? 'yes' : 'no' }}