/**
  *Update a notification
  *
  *@param Notification $notification
  *@param NotificationRequest $id
  *@return Response
  */
 public function update(Notification $notification, NotificationRequest $request)
 {
     $notification = Notification::findorFail($id);
     $notification->update($request->all());
     return redirect('notifies');
 }