from django.conf.urls import url

from homeasset.assets.views import AssetCreateView, AssetEditView, AssetDeleteView, AssetUndoDeleteView

urlpatterns = [
        url(r'^add/', AssetCreateView.as_view(), name='add'),
        url(r'^edit/(?P<pk>\d+)/', AssetEditView.as_view(), name='edit'),
        url(r'^delete/(?P<pk>\d+)/', AssetDeleteView.as_view(), name='delete'),
        url(r'^undo/(?P<key>\w+)', AssetUndoDeleteView.as_view(), name='undo'),
    ]
