Mercurial > kallithea
diff rhodecode/config/routing.py @ 3308:72a91632b731 beta
repository extra fields implementation
- verion bump to 1.6
- migrations
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 30 Jan 2013 04:10:58 +0100 |
parents | b38230cf8710 |
children | a91fa221a3b8 |
line wrap: on
line diff
--- a/rhodecode/config/routing.py Fri Feb 01 18:24:49 2013 +0100 +++ b/rhodecode/config/routing.py Wed Jan 30 04:10:58 2013 +0100 @@ -145,6 +145,14 @@ m.connect('repo_locking', "/repo_locking/{repo_name:.*?}", action="repo_locking", conditions=dict(method=["PUT"], function=check_repo)) + #repo fields + m.connect('create_repo_fields', "/repo_fields/{repo_name:.*?}/new", + action="create_repo_field", conditions=dict(method=["PUT"], + function=check_repo)) + + m.connect('delete_repo_fields', "/repo_fields/{repo_name:.*?}/{field_id}", + action="delete_repo_field", conditions=dict(method=["DELETE"], + function=check_repo)) with rmap.submapper(path_prefix=ADMIN_PREFIX, controller='admin/repos_groups') as m: