model = $show; parent::__construct(); } /** * Show show's list. * * @param string $slug * * @return response */ protected function index() { $shows = $this->model->all(); return $this->theme->of('show::public.show.index', compact('shows'))->render(); } /** * Show show. * * @param string $slug * * @return response */ protected function show($slug) { $show = $this->model->findBySlug($slug); return $this->theme->of('show::public.show.show', compact('show'))->render(); } }