コード例 #1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     Inscription::destroy($id);
     return redirect('inscription');
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param  Inscription  $inscription
  * @return Response
  */
 public function destroy(Inscription $inscription)
 {
     $this->authorize('edit', $inscription);
     Inscription::destroy($id);
     return redirect('inscription');
 }