Skip to content

Commit

Permalink
fix: Redirect URLs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico-AP committed Aug 25, 2023
1 parent 8aff3b1 commit fad795e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ddm/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


participation_flow_patterns = [
path(r'', participation_flow.participation_redirect_view, name='participation-redirect'),
#path(r'', participation_flow.participation_redirect_view, name='participation-redirect'),
path(r'briefing/', participation_flow.BriefingView.as_view(), name='briefing'),
path(r'data-donation/', participation_flow.DataDonationView.as_view(), name='data-donation'),
path(r'questionnaire/', participation_flow.QuestionnaireView.as_view(), name='questionnaire'),
Expand Down Expand Up @@ -72,7 +72,7 @@

urlpatterns = [
path(r'', RedirectView.as_view(pattern_name='project-list'), name='ddm-landing-page'),
path(r'<slug:slug>/', include(participation_flow_patterns)),
path(r'studies/<slug:slug>/', include(participation_flow_patterns)),
path(r'projects/', include(admin_patterns)),
path(r'auth/', include(authentication_patterns)),
path(r'<int:pk>/exceptions/', ExceptionAPI.as_view(), name='ddm-exceptions-api'),
Expand Down

0 comments on commit fad795e

Please sign in to comment.