Esempio n. 1
0
 /**
  * Remove the specified expense from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     Expense::destroy($id);
     return Redirect::route('expenses.index')->withDeleteMessage('Expense successfully deleted!');
 }
Esempio n. 2
0
 /**
  * Remove the specified expense from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     Expense::destroy($id);
     return Redirect::route('expenses.index');
 }