From 302c5d5005a481fce47d854ef22603ec1adcfb70 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Tue, 19 May 2015 13:02:32 +0100 Subject: [PATCH] chore(doc-gen): paths now start with a slash --- docs/app/js/app.js | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/app/js/app.js b/docs/app/js/app.js index 8e7d66b5b5..cfdc530159 100644 --- a/docs/app/js/app.js +++ b/docs/app/js/app.js @@ -14,7 +14,6 @@ angular.module('app', ['ngMaterial', 'navigation-modules', 'navigation-guides', ]; this.updateCurrentPage = function(path) { - path = path.replace(/^\//, ''); console.log('path', path); this.currentPage = null;