web/mooctracker_rails/app/controllers/projects_controller.rb
def destroy
    @project = Project.find(params[:id])
    @project.destroy
    render json: {success: "ok"}

  end
#Send a DELETE request on /project/id to destroy the project object
Send a DELETE request on /project/id to destroy the project object
Send a DELETE request on / project / id to destroy the project object
def destroy
    @project = Project.find(params[:id])
    @project.destroy
    render json: {success: "ok"}
  end
def destroy @project = Project . find ( params [ :id ] ) @project . destroy render json : { success : "ok" } end
Send a DELETE request on /project/id to destroy the project object
Send a DELETE request on / project / id to destroy the project object