repo.repository_id -> repo.id

This commit is contained in:
Piotr Sarnacki 2015-04-22 18:46:51 +02:00
parent 9609daab3b
commit 9bf5582f7d

View File

@ -17,7 +17,7 @@ Controller = Ember.Controller.extend
deletingDone = => @set('isDeleting', false)
repo = @get('repo')
Ajax.ajax("/repos/#{@get('repo.repository_id')}/caches", "DELETE").then(deletingDone, deletingDone).then =>
Ajax.ajax("/repos/#{@get('repo.id')}/caches", "DELETE").then(deletingDone, deletingDone).then =>
@set('model', {})
`export default Controller`