diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-11 15:27:36 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-11 15:27:36 -0800 |
commit | 011deddfd53abf0eb13fbe292c1a175e1d8fdf7e (patch) | |
tree | 2e56d0ae47a944d8679fcab0a04db5a669c40acc /python/fatcat_web/routes.py | |
parent | 1c1dd83603b0ed6d5ad1ff735ab179167c80358f (diff) | |
download | fatcat-011deddfd53abf0eb13fbe292c1a175e1d8fdf7e.tar.gz fatcat-011deddfd53abf0eb13fbe292c1a175e1d8fdf7e.zip |
no longer intend to create a 'wip' endpoint
Diffstat (limited to 'python/fatcat_web/routes.py')
-rw-r--r-- | python/fatcat_web/routes.py | 14 |
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: |