@inject('aclConstant', '\App\Util\AclConstant') @php $urlPrefix = strtolower(str_replace("/", "", Request::route()->getPrefix())); if (\Auth::isInvestorPic() && \Auth::isInvestorProductive()) { $routesProfile = route('productive.lender.profile'); }else if (\Auth::isAdminScf() || \Auth::isAdminEmployer()) { $routesProfile = route('userAnchor.profile'); } else { $routesProfile = config('cms.MYPROFILE_URL'); } @endphp