public function getDeleteEmailAlert($id) { $emailalert = Emails::find($id); $emailalert->delete(); return Redirect::to('user/email/alerts'); }