flows: fix denied view not being registered

This commit is contained in:
Jens Langhammer
2020-05-08 16:50:50 +02:00
parent 273af0f1cb
commit c3e43a7c2f
4 changed files with 13 additions and 7 deletions

View File

@ -1,8 +1,9 @@
"""flow urls"""
from django.urls import path
from passbook.flows.views import FlowExecutorView
from passbook.flows.views import FlowExecutorView, FlowPermissionDeniedView
urlpatterns = [
path("<slug:flow_slug>/", FlowExecutorView.as_view(), name="flow-executor"),
path("denied/", FlowPermissionDeniedView.as_view(), name="denied"),
]