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