change owner api endpoint

This commit is contained in:
Lisa Passing 2015-04-29 17:41:51 +02:00
parent 05e7b41a5e
commit 1760168d45

View File

@ -9,7 +9,7 @@ Route = TravisRoute.extend
model: (params) ->
owner = {}
$.get("https://api-staging.travis-ci.org/v3/owner/#{params.owner}").then( (data) ->
$.get("https://api.travis-ci.org/v3/owner/#{params.owner}?include=user.repositories,organization.repositories").then( (data) ->
owner = data
owner