From 318abfeefa7abf01b6e408df67e89dc9334370f8 Mon Sep 17 00:00:00 2001 From: Matteo Pagliazzi Date: Sun, 17 Apr 2016 12:54:27 +0200 Subject: [PATCH] v2: fix debug menu in production --- website/public/js/controllers/footerCtrl.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/public/js/controllers/footerCtrl.js b/website/public/js/controllers/footerCtrl.js index 42fd279944..665f054f9d 100644 --- a/website/public/js/controllers/footerCtrl.js +++ b/website/public/js/controllers/footerCtrl.js @@ -70,7 +70,8 @@ function($scope, $rootScope, User, $http, Notification, ApiUrl, Social) { /** * Debug functions. Note that the server route for gems is only available if process.env.DEBUG=true */ - if (_.contains(['development','test'],window.env.NODE_ENV)) { + // enable debug menu to test v3 TODO remove + if (true || _.contains(['development','test'],window.env.NODE_ENV)) { $scope.setHealthLow = function(){ User.set({