@php $isEdit = isset($education); $route = $isEdit ? route('educations.update', $education->id) : route('educations.store'); @endphp