Skip to content

Commit 0a9721d

Browse files
committed
NPL-286 update journal url
1 parent 975c810 commit 0a9721d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netbox_custom_objects/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def _get_viewname(cls, action=None, rest_api=False):
140140
return f"plugins:netbox_custom_objects:customobject_{action}"
141141

142142
@classmethod
143-
def get_action_url(cls, action=None, rest_api=False, kwargs=None):
143+
def _get_action_url(cls, action=None, rest_api=False, kwargs=None):
144144
if kwargs:
145145
kwargs["custom_object_type"] = cls.custom_object_type.name.lower()
146146
return reverse(cls._get_viewname(action, rest_api), kwargs=kwargs)

0 commit comments

Comments
 (0)