From 557797ab19d6dff6c4542fa553d33a5300a862b8 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Thu, 14 Jan 2016 14:10:18 +0100 Subject: [PATCH] Fix show more button for builds While doing search and replace I accidentally replaced too much occurences of 'builds' --- app/controllers/builds.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/builds.js b/app/controllers/builds.js index a1c57d46..66d94a07 100644 --- a/app/controllers/builds.js +++ b/app/controllers/builds.js @@ -13,7 +13,7 @@ export default Ember.Controller.extend({ var id, number, type; id = this.get('repo.id'); number = this.get('model.lastObject.number'); - type = this.get('tab') === "model" ? 'push' : 'pull_request'; + type = this.get('tab') === "builds" ? 'push' : 'pull_request'; return this.get('model').load(this.olderThanNumber(id, number, type)); },