{{-- --}}
Back
@php
$user = auth()->user();
$profileUpdateRoute = $user->role === 'admin' ? 'admin.profile.update' : 'user.profile.update';
@endphp