Add cloudfoundry config values

also added tests
This commit is contained in:
Leo Hemsted
2017-04-10 18:12:00 +01:00
parent a6318f2674
commit 9391181b2c
10 changed files with 113 additions and 60 deletions

View File

@@ -299,6 +299,7 @@ def check_messages_preview(service_id, template_type, upload_id, filetype):
)['template']
return TemplatePreview.from_utils_template(template, filetype)
@main.route("/services/<service_id>/<template_type>/check/<upload_id>", methods=['POST'])
@login_required
@user_has_permissions('send_texts', 'send_emails', 'send_letters')