from django.conf.urls import patterns, url

from mc2.controllers.docker import views, hidden_import


urlpatterns = patterns(
    '',
    url(
        r'^add/$',
        views.DockerControllerCreateView.as_view(),
        name='add'
    ),
    url(
        r'^(?P<controller_pk>\d+)/clone/$',
        views.DockerControllerCloneView.as_view(),
        name='clone'
    ),
    url(
        r'^(?P<controller_pk>\d+)/$',
        views.DockerControllerEditView.as_view(),
        name='edit'),
    url(
        r'^hidden_import/$',
        hidden_import.HiddenImportView.as_view(),
        name='hidden_import'),
)
