@php $url = route('threat-action.list', array_filter([ 'source' => $source ?? null, 'threat_id' => $threat_id ?? null, ])); @endphp