API uses match to filter by slug

This commit is contained in:
Piotr Sarnacki 2014-08-05 18:14:34 +02:00
parent a58688b451
commit e286428722

View File

@ -49,7 +49,7 @@ Travis.CacheItemController = Ember.ObjectController.extend
if confirm('Are you sure?')
@set('isDeleting', true)
data = { branch: @get('branch'), slug: @get('slug') }
data = { branch: @get('branch'), match: @get('slug') }
deletingDone = => @set('isDeleting', false)