From e2e494c30b2305b736423ce903103c3b7a459270 Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Fri, 15 Jan 2016 16:43:20 +0000 Subject: [PATCH] Remove trailing slash from template url --- app/template/rest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/template/rest.py b/app/template/rest.py index 57b29c2d5..036c90245 100644 --- a/app/template/rest.py +++ b/app/template/rest.py @@ -13,7 +13,7 @@ template = Blueprint('template', __name__) # Permissions should restrict who can access this endpoint # TODO auth to be added. @template.route('/', methods=['GET']) -@template.route('/', methods=['GET']) +@template.route('', methods=['GET']) def get_template(template_id=None): try: templates = get_model_templates(template_id=template_id)