aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-11 15:27:36 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-11 15:27:36 -0800
commit011deddfd53abf0eb13fbe292c1a175e1d8fdf7e (patch)
tree2e56d0ae47a944d8679fcab0a04db5a669c40acc /python/fatcat_web
parent1c1dd83603b0ed6d5ad1ff735ab179167c80358f (diff)
downloadfatcat-011deddfd53abf0eb13fbe292c1a175e1d8fdf7e.tar.gz
fatcat-011deddfd53abf0eb13fbe292c1a175e1d8fdf7e.zip
no longer intend to create a 'wip' endpoint
Diffstat (limited to 'python/fatcat_web')
-rw-r--r--python/fatcat_web/routes.py14
1 files changed, 1 insertions, 13 deletions
diff --git a/python/fatcat_web/routes.py b/python/fatcat_web/routes.py
index 701cf08b..34012c9f 100644
--- a/python/fatcat_web/routes.py
+++ b/python/fatcat_web/routes.py
@@ -314,7 +314,7 @@ def editor_view(ident):
return render_template('editor_view.html', editor=entity)
@app.route('/editor/<ident>/editgroups', methods=['GET'])
-def editor_changelog(ident):
+def editor_editgroups(ident):
try:
editor = api.get_editor(ident)
editgroups = api.get_editor_editgroups(ident, limit=50)
@@ -323,18 +323,6 @@ def editor_changelog(ident):
return render_template('editor_editgroups.html', editor=editor,
editgroups=editgroups)
-# Not implemented
-#@app.route('/editor/<ident>/wip', methods=['GET'])
-#def editor_wip(ident):
-# raise NotImplementedError
-# try:
-# editor = api.get_editor(ident)
-# entries = api.get_editor_wip(ident)
-# except ApiException as ae:
-# abort(ae.status)
-# return render_template('editor_changelog.html', editor=editor,
-# entries=entries)
-
@app.route('/changelog', methods=['GET'])
def changelog_view():
try: