Add toggle functionality for pre-review flag on case resources
This commit is contained in:
@@ -183,6 +183,7 @@ urlpatterns = [
|
||||
# HTMX endpoints for attaching/detaching resources to a case
|
||||
path("case/<int:pk>/attach-resource/", views.case_attach_resource, name="case_attach_resource"),
|
||||
path("case/<int:pk>/detach-resource/", views.case_detach_resource, name="case_detach_resource"),
|
||||
path("case/<int:pk>/toggle-resource-pre/", views.case_toggle_resource_pre, name="case_toggle_resource_pre"),
|
||||
# Backwards-compatible redirect from legacy case_id-style URLs
|
||||
path(
|
||||
"collection/<int:exam_id>/case/id/<int:case_id>/details",
|
||||
|
||||
Reference in New Issue
Block a user