comments routing

This commit is contained in:
2025-08-22 06:57:52 +05:30
parent a331e81292
commit ef3b6ddaac
+4 -1
View File
@@ -10,5 +10,8 @@ urlpatterns = [
path('dashboard/', views.citizen_dashboard, name='citizen_dashboard'),
path('report-issue/', views.report_issue, name='report_issue'),
path('issues/', views.view_all_issues, name='view_all_issues'),
path('vote/<int:issue_id>/', views.vote_issue, name='vote_issue'),
path("issues/<int:pk>/", views.issue_detail, name="issue_detail"),
path("issues/<int:pk>/comment/", views.add_comment, name="add_comment"),
path("issues/<int:pk>/comment/<int:parent_id>/", views.add_comment, name="add_comment"),
path('vote/<int:issue_id>/', views.vote_issue, name='vote_issue'),
]