Skip to content

Commit 373430f

Browse files
committed
refactor(urls): Update routes to align with ACLAssignment model
Replaces `ACLInterfaceAssignment` routes with `ACLAssignment` routes in URLs. Shortens path names for clarity and consistency with the unified model.
1 parent 66fb778 commit 373430f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

netbox_acls/urls.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
),
2020
# Access List Interface Assignments
2121
path(
22-
"interface-assignments/",
23-
include(get_model_urls("netbox_acls", "aclinterfaceassignment", detail=False)),
22+
"assignments/",
23+
include(get_model_urls("netbox_acls", "aclassignment", detail=False)),
2424
),
2525
path(
26-
"interface-assignments/<int:pk>/",
27-
include(get_model_urls("netbox_acls", "aclinterfaceassignment")),
26+
"assignments/<int:pk>/",
27+
include(get_model_urls("netbox_acls", "aclassignment")),
2828
),
2929
# Standard Access List Rules
3030
path(

0 commit comments

Comments
 (0)