aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/routes.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-06-13 16:05:58 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-06-13 16:05:58 -0700
commitf1abe85e8c35a23122f65b47dd55d8135239cf93 (patch)
tree972e093a381ed4d9dd62f389c4d716c06f4fd993 /python/fatcat_web/routes.py
parent234c4b2091f9a40fbfdcea1017aba575a31f22b2 (diff)
downloadfatcat-f1abe85e8c35a23122f65b47dd55d8135239cf93.tar.gz
fatcat-f1abe85e8c35a23122f65b47dd55d8135239cf93.zip
fixes after rebase
Diffstat (limited to 'python/fatcat_web/routes.py')
-rw-r--r--python/fatcat_web/routes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_web/routes.py b/python/fatcat_web/routes.py
index 61ba0029..326d5807 100644
--- a/python/fatcat_web/routes.py
+++ b/python/fatcat_web/routes.py
@@ -203,7 +203,7 @@ def generic_entity_view(entity_type, ident, view_template):
metadata.pop('extra')
entity._metadata = metadata
- return render_template(view_template, entity=entity, editgroup_id=None)
+ return render_template(view_template, entity_type=entity_type, entity=entity, editgroup_id=None)
def generic_editgroup_entity_view(editgroup_id, entity_type, ident, view_template):
try:
@@ -217,7 +217,7 @@ def generic_editgroup_entity_view(editgroup_id, entity_type, ident, view_templat
return render_template('deleted_entity.html', entity=entity,
entity_type=entity_type, editgroup=editgroup)
- return render_template(view_template, entity=entity, editgroup=editgroup)
+ return render_template(view_template, entity_type=entity_type, entity=entity, editgroup=editgroup)
@app.route('/container/<ident>', methods=['GET'])