diff options
| author | Vojta Jina | 2011-05-19 21:14:41 +0200 | 
|---|---|---|
| committer | Igor Minar | 2011-06-06 22:52:01 -0700 | 
| commit | 238094310694f0755e6089bf92c36d0ff55fe626 (patch) | |
| tree | f5ff2e39ad17bc3eb9f1c57462877edf6b31c93d /docs/src/ngdoc.js | |
| parent | 297c9b5b89a6e20d83631170e3c2f71448046bbd (diff) | |
| download | angular.js-238094310694f0755e6089bf92c36d0ff55fe626.tar.bz2 | |
Allow "section/" links pointing to "section/index"
Diffstat (limited to 'docs/src/ngdoc.js')
| -rw-r--r-- | docs/src/ngdoc.js | 3 | 
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;    }, | 
