aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/ngdoc.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js
index 70e393a8..fa3fbdac 100644
--- a/docs/src/ngdoc.js
+++ b/docs/src/ngdoc.js
@@ -72,9 +72,8 @@ Doc.prototype = {
* @returns {string} Absolute url
*/
convertUrlToAbsolute: function(url) {
+ if (url.substr(-1) == '/') return url + 'index';
if (url.match(/\//)) return url;
-
- // remove this after
return this.section + '/' + url;
},