How to add an alert on Laravel 5?
<p>I have a function where:<br>
After I click the link named <code>"hapus"</code>, the related data will be deleted and I want to have a popup alert to show that the data has been deleted.
<br>
<br>*sorry for my bad english
<br>
<br>*hapus technically means destroy</p>

<p>this the code:</p>

<pre>
public function hapus(Request $request, $id)
    {
        DB::table('kelompok')
        ->where('id', $id)
        ->delete();
        return redirect()->back();
    }
</pre>