fix owner page query

This commit is contained in:
Lisa P 2015-10-05 23:31:59 +02:00
parent 4ed60c5fbb
commit fbb30d120c
2 changed files with 2 additions and 2 deletions

View File

@ -76,6 +76,6 @@ Router.map ->
# @route 'running', path: '/running'
@route 'error404', path: '/*path'
@route 'error404', path: '/404'
# @route 'error404', path: '/404'
`export default Router`

View File

@ -13,6 +13,6 @@ Route = TravisRoute.extend
options = {}
if @get('auth.signedIn')
options.headers = { Authorization: "token #{@auth.token()}" }
$.ajax(config.apiEndpoint + "/v3/owner/#{params.owner}", options)
$.ajax(config.apiEndpoint + "/v3/owner/#{transition.params.owner.owner}?include=user.repositories,organization.repositories,build.commit,repository.active", options)
`export default Route`