def destroy @<%= instance_name %> = <%= model_name %>.find(params[:id]) @<%= instance_name %>.destroy redirect_to <%= items_url %>, :notice => "Successfully destroyed <%= model_name.underscore.humanize.downcase %>." end