Example #1
0
 /**
  * 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']);
 }
Example #2
0
 /**
  * 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.']);
 }