diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2018-01-09 22:06:54 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2018-01-09 22:06:54 -1000 |
commit | f0426f5208e1a3ca3264f7940e4d4edaf072d3fa (patch) | |
tree | 0781c0776d0a25ac24f2c7cb63e0a0f0e06826c6 | |
parent | 7052ddce7a33724467c076dff4217c73001d4a8c (diff) | |
download | patchfoo-f0426f5208e1a3ca3264f7940e4d4edaf072d3fa.tar.gz patchfoo-f0426f5208e1a3ca3264f7940e4d4edaf072d3fa.zip |
Add hint parameters for 'created' links
-rw-r--r-- | lib/serve.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/serve.js b/lib/serve.js index 793ad84..e8a8c91 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -1808,6 +1808,8 @@ Serve.prototype.gitCommit = function (rev) { self.app.render.toUrl('/git/blob/' + (file.hash[1] || file.hash[0]) + '?msg=' + encodeURIComponent(msg.key)) + + '&commit=' + rev + + '&path=' + encodeURIComponent(file.name) }, 'created') : file.hash ? ph('a', {href: |