fix parameter name for builds "load more"

This commit is contained in:
Sven Fuchs 2012-09-27 00:45:27 +02:00
parent 412176975b
commit 87cf494c26
2 changed files with 3 additions and 2 deletions

View File

@ -46,4 +46,5 @@ require 'travis/model'
@find($.extend(parameters || {}, repository_id: id, orderBy: 'number DESC'))
olderThanNumber: (id, build_number) ->
@find(url: "/builds", repository_id: id, after: build_number)
# TODO fix this api and use some kind of pagination scheme
@find(url: "/builds", repository_id: id, after_number: build_number)

File diff suppressed because one or more lines are too long