Skip to content

Commit

Permalink
Add delete handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Romiko committed Jan 27, 2012
1 parent 9e73220 commit 1d54fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gremlin-endpoint.rb
Expand Up @@ -42,5 +42,5 @@
end

delete '/db/data/node/:nodeid' do
RestClient.delete ENV['NEO4J_URL'] + '/db/data/node/' + params[:nodeid]
response = RestClient.delete ENV['NEO4J_URL'] + '/db/data/node/' + params[:nodeid]
end

0 comments on commit 1d54fe1

Please sign in to comment.