Revision b2f94a0c snf-cyclades-app/synnefo/plankton/urls.py

b/snf-cyclades-app/synnefo/plankton/urls.py
39 39

  
40 40
def demux(request):
41 41
    if request.method == 'GET':
42
        return views.list_public_images(request)
42
        return views.list_images(request)
43 43
    elif request.method == 'POST':
44 44
        return views.add_image(request)
45 45
    else:
......
77 77

  
78 78
urlpatterns = patterns('',
79 79
    (r'^images/$', demux),
80
    (r'^images/detail$', views.list_public_images, {'detail': True}),
80
    (r'^images/detail$', views.list_images, {'detail': True}),
81 81
    (r'^images/([\w-]+)$', demux_image),
82 82
    (r'^images/([\w-]+)/members$', demux_image_members),
83 83
    (r'^images/([\w-]+)/members/([\w@._-]+)$', demux_members),
84
    (r'^shared-images/$', views.list_shared_images),
85
    (r'^shared-images/detail', views.list_shared_images, {'detail': True}),
86
    (r'^shared-images/([\w@._-]+)$', views.list_shared_images_with)
84
    (r'^shared-images/([\w@._-]+)$', views.list_shared_images)
87 85
)

Also available in: Unified diff