芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/reginaeigbe.com/folder/admin/tmp/app/Http/Controllers/Admin/DashboardController.php
getPostCount(); $data['service_count'] = $repository->getServiceCount(); $data['portfolio_count'] = $repository->getPortfolioCount(); $data['case_study_count'] = $repository->getCaseStudyCount(); $data['comment_count'] = $repository->getCommentCount(); $data['user_count'] = $repository->getUserCount(); $data['subscriber_count'] = $repository->getSubscribeCount(); $data['contact_count'] = $repository->getContactCount(); $data['latest_contacts'] = $repository->getLatestContact(); $data['latest_comments'] = $repository->getLatestComments(); return Inertia::render('Dashboard', $data); } public function test() { return redirect()->back()->with('success', 'Hello'); } }