/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index(PressRepo $press_repo) { $press = $press_repo->getAll(); return view('admin.press.index', compact('press')); }