Example #1
0
 /**
  * Update the specified resource in storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function update(CreateGroupRequest $request, Group $group)
 {
     $group->updated_at = Carbon::now();
     $group->update($request->all());
     Session::flash('flash_message', $group->linkedName() . ' has been updated');
     return redirect('/admin/group');
 }