コード例 #1
0
 public function update(Training $training, TrainingRequest $request)
 {
     $training->update($request->all());
     Flash::success(trans('general.updated_msg'));
     return redirect(route('admin.trainings'));
 }