core/rails/app/controllers/users_controller.rb
# RESTful DELETE of the node resource
RESTful DELETE of the node resource
RESTful DELETE of the node resource
def destroy
    model.transaction do
      @user = find_key_cap(model, params[:id], cap("DESTROY"))
      @user.destroy
    end
    render api_delete @user
  end
def destroy model . transaction do @user = find_key_cap ( model , params [ :id ] , cap ( "DESTROY" ) ) @user . destroy end render api_delete @user end
RESTful DELETE of the node resource
RESTful DELETE of the node resource