app/Http/Controllers/AlunosController.php
/**
   * Remove the specified resource from storage.
   *
   * @param  \App\Aluno  $aluno
   * @return \Illuminate\Http\Response
   */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(Aluno $aluno)
  {
    $aluno->delete();
    return redirect()
      ->route('alunos.index')
      ->with('success', 'Aluno deletado com sucesso!');
  }
public function destroy ( Aluno $ aluno ) { $ aluno -> delete ( ) ; return redirect ( ) -> route ( 'alunos.index' ) -> with ( 'success' , 'Aluno deletado com sucesso!' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .