/** * Remove the specified resource from storage. * * @param int $id * * @return Response */ public function destroy($id) { if (Script::destroy($id)) { $msg = 'Script has been deleted!'; } else { $msg = 'Script has <b>not</b> been deleted!'; } // return Redirect::action('ScriptController@index')->with('notice', $msg); }