public function edit($id) { $fragment = Fragment::find($id); return view('back.fragments.edit')->with(compact('fragment')); }