generated from ministryofjustice/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathurls.py
29 lines (28 loc) · 778 Bytes
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
from . import bp
from .forms import AppealQuestionForm
from ..constants import BENEFITS
from ..results.views import CannotFindYourProblemPage, NextStepsPage
from ..views import QuestionPage
bp.add_url_rule(
"/benefits-appeal",
view_func=QuestionPage.as_view(
"appeal",
form_class=AppealQuestionForm,
template="categories/benefits/appeal.html",
),
)
bp.add_url_rule(
"/benefits-appeal/cannot-find-your-problem",
view_func=CannotFindYourProblemPage.as_view(
"cannot_find_your_problem",
category=BENEFITS,
next_steps_page="categories.benefits.next_steps",
),
)
bp.add_url_rule(
"/benefits-appeal/next-steps",
view_func=NextStepsPage.as_view(
"next_steps",
category=BENEFITS,
),
)