aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-03-02 18:05:24 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-03-02 18:05:24 -0800
commit8d7c48f579946b26391c91cc1ccbb8501fe019a6 (patch)
treee89aa7e7774238967dc3e457df6b87c320e0ba57 /python/fatcat_web
parent1db7aac96c05ed03e6b94d174b3591cedb812d83 (diff)
downloadfatcat-8d7c48f579946b26391c91cc1ccbb8501fe019a6.tar.gz
fatcat-8d7c48f579946b26391c91cc1ccbb8501fe019a6.zip
fix entity JSON links
Diffstat (limited to 'python/fatcat_web')
-rw-r--r--python/fatcat_web/templates/entity_macros.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_web/templates/entity_macros.html b/python/fatcat_web/templates/entity_macros.html
index 0fa93679..054b2559 100644
--- a/python/fatcat_web/templates/entity_macros.html
+++ b/python/fatcat_web/templates/entity_macros.html
@@ -7,7 +7,7 @@
Revision:
<br><small><code>{{ entity.revision }}</code></small>
{% endif %}
- <br><a href="https://api.{{ config.FATCAT_DOMAIN }}/v0/release/{{ entity.ident }}{% if expand %}?expand={{ expand}}{% endif %}">As JSON object via API</a>
+ <br><a href="https://api.{{ config.FATCAT_DOMAIN }}/v0/{{ entity_type }}/{{ entity.ident }}{% if expand %}?expand={{ expand}}{% endif %}">As JSON object via API</a>
</div>
<div class="two ui buttons bottom attached">