/** * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View */ protected function displayAllPatches() { $patches = Patch::latest('updated_at')->get(); return view($this->layout, compact('patches')); }
public function index() { $patches = Patch::all()->get(); }