@php function sroute($name,$params=[]){ return \Illuminate\Support\Facades\Route::has($name) ? route($name,$params) : '#'; } @endphp