@php $action = isset($method) && $method=='update' ? route('user.update', $user->id) : route('user.store'); @endphp