Fix requests route name

This commit is contained in:
Piotr Sarnacki 2015-01-15 17:22:10 +01:00
parent f26d3edcc5
commit 0dcf283aa0

View File

@ -8,9 +8,10 @@ Route = TravisRoute.extend
needsAuth: true
setupController: ->
@_super.apply this, arguments
@controllerFor('repo').activate('requests')
model: ->
Request.fetch repository_id: @modelFor('repo').get('id')
Travis.RequestRoute = Route
Travis.RequestsRoute = Route