header('Accept'), 'text/html')) { config_m()->syncFromRegistry('koneko.core.layout.vuexy'); View::share([ '_admin' => app(KonekoAdminVarsBuilder::class)->get(), 'vuexyMenu' => app(VuexyMenuFormatter::class)->getMenu(), 'vuexyNotifications' => app(VuexyNotificationsBuilder::class)->getNotifications(), 'vuexyBreadcrumbs' => app(VuexyBreadcrumbsBuilder::class)->getBreadcrumbs(), ]); } return $next($request); } }