From f348d1ed237ce2989bda6d54dc22e839b012aeca Mon Sep 17 00:00:00 2001
From: Patrick Jentsch
Date: Mon, 13 Mar 2023 11:24:01 +0100
Subject: [PATCH] Add missing method to route
---
app/contributions/spacy_nlp_pipeline_models/routes.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/contributions/spacy_nlp_pipeline_models/routes.py b/app/contributions/spacy_nlp_pipeline_models/routes.py
index 609941fc..fd972902 100644
--- a/app/contributions/spacy_nlp_pipeline_models/routes.py
+++ b/app/contributions/spacy_nlp_pipeline_models/routes.py
@@ -18,7 +18,7 @@ def spacy_nlp_pipeline_models():
)
-@bp.route('/create')
+@bp.route('/create', methods=['GET', 'POST'])
@login_required
def create_spacy_nlp_pipeline_model():
form_prefix = 'create-spacy-nlp-pipeline-model-form'