Revision a31ff6cb api/urls.py

b/api/urls.py
23 23
flavor_handler = Resource(FlavorHandler, auth)
24 24
image_handler = Resource(ImageHandler, auth)
25 25
shared_ip_group_handler = Resource(SharedIPGroupHandler, auth)
26
virtual_machine_group_handler = Resource(VirtualMachineGroupHandler, auth)
26 27

  
27 28
def url_with_format(regex, *args, **kwargs):
28 29
    if regex[-1] == '$':
......
45 46
    url_with_format(r'^images/(?P<id>[^/]+)$', image_handler),
46 47
    url_with_format(r'^shared_ip_groups$', shared_ip_group_handler),
47 48
    url_with_format(r'^shared_ip_groups/(?P<id>[^/]+)$', shared_ip_group_handler),
49
    url_with_format(r'^virtual_machine_groups$', virtual_machine_group_handler),
50
    url_with_format(r'^virtual_machine_groups/(?P<id>[^/]+)$', virtual_machine_group_handler),
48 51
    url(r'^.+', notFound), # catch-all
49 52
)
50 53

  

Also available in: Unified diff