def destroy
      @project = Project.find(params[:id])
      @project.destroy
  
      respond_to do |format|
        format.html { redirect_to projects_url }
        format.json { head :no_content }
      end
    end
def destroy
      @project = Project.find(params[:id])
      @project.destroy
  
      respond_to do |format|
        format.html { redirect_to projects_url }
        format.json { head :no_content }
      end
    end
DELETE /projects/1
 DELETE /projects/1.json