firstOrFail(); //dd($category); return view('choicebox')->with('category', $category); } public function show($path){ $content = Content::where('path', $path)->first(); return view('softbox')->with('content', $content); } }