# HG changeset patch # User Mads Kiilerich # Date 1470313416 -7200 # Node ID 5e0e297435a15f558157514015b14f60756f9db4 # Parent e8136195daf0be62104f807fe78be63770606f3f routing: use POST to 'update_repos_group' instead of PUT diff -r e8136195daf0 -r 5e0e297435a1 kallithea/config/routing.py --- a/kallithea/config/routing.py Thu Aug 04 14:23:36 2016 +0200 +++ b/kallithea/config/routing.py Thu Aug 04 14:23:36 2016 +0200 @@ -135,7 +135,7 @@ m.connect("new_repos_group", "/repo_groups/new", action="new", conditions=dict(method=["GET"])) m.connect("update_repos_group", "/repo_groups/{group_name:.*?}", - action="update", conditions=dict(method=["PUT"], + action="update", conditions=dict(method=["POST"], function=check_group)) m.connect("repos_group", "/repo_groups/{group_name:.*?}", diff -r e8136195daf0 -r 5e0e297435a1 kallithea/templates/admin/repo_groups/repo_group_edit_settings.html --- a/kallithea/templates/admin/repo_groups/repo_group_edit_settings.html Thu Aug 04 14:23:36 2016 +0200 +++ b/kallithea/templates/admin/repo_groups/repo_group_edit_settings.html Thu Aug 04 14:23:36 2016 +0200 @@ -1,5 +1,5 @@ ## -*- coding: utf-8 -*- -${h.form(url('repos_group',group_name=c.repo_group.group_name),method='put')} +${h.form(url('update_repos_group',group_name=c.repo_group.group_name))}