Verified Commit 4f4d5677 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Change bank account urls

parent b861b786
......@@ -6,13 +6,14 @@ from .views import BankAccountCreateView, BankAccountListView, \
app_name = 'payments'
urlpatterns = [
# path('', views.index, name='index'),
path('accounts/', include([
path('', BankAccountListView.as_view(),
name='bankaccount-list'),
path('add/', BankAccountCreateView.as_view(),
name='bankaccount-add'),
path('<uuid:pk>/revoke/', BankAccountRevokeView.as_view(),
name='bankaccount-revoke'),
])),
path('user/finance/', include([
path('accounts/', include([
path('', BankAccountListView.as_view(),
name='bankaccount-list'),
path('add/', BankAccountCreateView.as_view(),
name='bankaccount-add'),
path('<uuid:pk>/revoke/', BankAccountRevokeView.as_view(),
name='bankaccount-revoke'),
])),
]))
]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment