/** * Update the specified resource in storage. * * @param int $id * @return Response */ public function update(Request $request, $id) { // //dd($request->input()); //dd($request->all()); Project::updateOrCreate(['id' => $id], $request->input()); return redirect('/feature/project/' . $id); }