From a6b9c2b0d9eae1571d711e90448db17f3b315aaf Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Fri, 6 Feb 2015 15:07:29 +0100 Subject: [PATCH] Properly check for caches and ssKey on pro --- app/templates/repos/show/tools.hbs | 2 +- app/templates/settings.hbs | 3 ++- config/environment.js | 3 +-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/templates/repos/show/tools.hbs b/app/templates/repos/show/tools.hbs index 1d96253b..b6f1ac04 100644 --- a/app/templates/repos/show/tools.hbs +++ b/app/templates/repos/show/tools.hbs @@ -10,7 +10,7 @@
  • {{#link-to "requests" view.repo}}Requests{{/link-to}}
  • - {{#if config.caches_enabled}} + {{#if config.endpoints.caches}}
  • {{#link-to "caches" view.repo}}Caches{{/link-to}}
  • diff --git a/app/templates/settings.hbs b/app/templates/settings.hbs index ec0f6259..ad5a438d 100644 --- a/app/templates/settings.hbs +++ b/app/templates/settings.hbs @@ -1,7 +1,8 @@ diff --git a/config/environment.js b/config/environment.js index 47f5277a..2b873c01 100644 --- a/config/environment.js +++ b/config/environment.js @@ -46,8 +46,7 @@ module.exports = function(environment) { ENV.endpoints = { sshKey: true, caches: true - } - + }; } }