repo.repository_id -> repo.id
This commit is contained in:
parent
9609daab3b
commit
9bf5582f7d
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue
Block a user