diff --git a/app/controllers/builds.coffee b/app/controllers/builds.coffee index 17649392..cb561de7 100644 --- a/app/controllers/builds.coffee +++ b/app/controllers/builds.coffee @@ -52,6 +52,8 @@ Controller = Ember.ArrayController.extend options = { repository_id: id, after_number: number } if type? options.event_type = type.replace(/s$/, '') # poor man's singularize + if options.event_type == 'push' + options.event_type = ['push', 'api'] @store.query('build', options)