예제 #1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int $id
  * @return Response
  */
 public function destroyServer($id)
 {
     //
     serverModel::destroy($id);
     return redirect('admin/servers');
 }
예제 #2
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int $id
  * @return Response
  */
 public function destroy($id)
 {
     serverModel::destroy($id);
     return redirect('servers/my');
 }