diff --git a/attract/tasks.py b/attract/tasks.py index d2d8c0e..d9697c0 100644 --- a/attract/tasks.py +++ b/attract/tasks.py @@ -60,7 +60,8 @@ def save(project, task_id): return flask.jsonify({'task_id': task_id, 'etag': task._etag}) -@blueprint.route('//create') +# TODO: remove GET method once Pablo has made a proper button to call this URL with a POST. +@blueprint.route('//create', methods=['POST', 'GET']) @attract_project_view() def create_task(project): task = current_task_manager.create_task(project)