/** * Show info about a work-group. * * @param Industry $industry * @param Workgroup $workGroup * * @return \Illuminate\Http\Response */ public function showWorkGroup(Industry $industry, Workgroup $workGroup) { $articles = $this->articleRepository->mostViewedByIndustry($industry, 3)->get(); $events = $this->industryRepository->companyEvents($industry)->get(); $decisions = $this->industryRepository->companyDecisions($industry)->get(); $members = $this->userRepository->whereCompaniesIndustry($industry)->get(); return view('ahk.industries.work_groups.show', compact('industry', 'workGroup', 'articles', 'events', 'decisions', 'members')); }