Don't use a legace /repositories endpoint for getting a key
This commit is contained in:
parent
7bc0be0de1
commit
8a1d1b9be6
|
@ -17,7 +17,7 @@ Route = TravisRoute.extend
|
|||
|
||||
afterModel: (model, transition) ->
|
||||
repo = @modelFor('repo')
|
||||
Ajax.get "/repositories/#{repo.get('id')}/key", (data) =>
|
||||
Ajax.get "/repos/#{repo.get('id')}/key", (data) =>
|
||||
@defaultKey = Ember.Object.create(fingerprint: data.fingerprint)
|
||||
|
||||
setupController: (controller, model) ->
|
||||
|
|
Loading…
Reference in New Issue
Block a user