/** * Update the specified resource in storage. * * @param int $id * @return Response */ public function update(Project $project, Sprint $sprint, Request $request) { $sprint->update($request->all()); return response()->json(['status' => 'success']); }
/** * Update the specified resource in storage. * * @param int $id * @return Response */ public function update(Project $project, Backlog $backlog, Sprint $sprint, Request $request) { $sprint->update($request->all()); return response()->json(['status' => 'success', 'Message' => 'Sprint updated.']); }