From 011deddfd53abf0eb13fbe292c1a175e1d8fdf7e Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 11 Jan 2019 15:27:36 -0800 Subject: no longer intend to create a 'wip' endpoint --- python/fatcat_web/routes.py | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'python') 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//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//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: -- cgit v1.2.3