Exemplo n.º 1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     $cost = Cost::find($id);
     $cost->delete();
     return Redirect::to('admin/cost')->with('success_message', 'El registro ha sido borrado correctamente.')->withInput();
 }