global

def destroy

def destroy
  @<%= singular_table_name %> = <%= orm_class.find(class_name, "params[:id]") %>
  @<%= orm_instance.destroy %>
  respond_to do |format|
    format.html { redirect_to <%= index_helper %>_url }