Skip to content

Instantly share code, notes, and snippets.

@cggaurav
Created July 24, 2014 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cggaurav/f211b3be3cfb82b3774f to your computer and use it in GitHub Desktop.
Save cggaurav/f211b3be3cfb82b3774f to your computer and use it in GitHub Desktop.
DELETE $http
$http(method: 'DELETE', url: path + REST.ids(collection).join(','), params: params)
.success (data, status, headers, config) ->
console.log "#{Quests.name}.delete: OK"
.error (data, status, headers, config) ->
console.error "#{Quests.name}.delete: ERROR"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment