diff --git a/temba/orgs/views.py b/temba/orgs/views.py index 4548509751d..58dd663a049 100644 --- a/temba/orgs/views.py +++ b/temba/orgs/views.py @@ -2213,7 +2213,7 @@ def get_context_data(self, **kwargs): def lookup_field_link(self, context, field, obj): if field == "owner": owner = obj.get_owner() - return reverse("orgs.user_update", args=[owner.pk]) + return reverse("users.user_update", args=[owner.pk]) return super().lookup_field_link(context, field, obj) def get_created_by(self, obj): # pragma: needs cover diff --git a/templates/orgs/org_update.haml b/templates/orgs/org_update.haml index c33e6659695..a742a413080 100644 --- a/templates/orgs/org_update.haml +++ b/templates/orgs/org_update.haml @@ -54,5 +54,5 @@ .cap-label {{user_role.role_display}} -for user in user_role.users - %a{href:'{% url "orgs.user_update" user.id %}'} + %a{href:'{% url "users.user_update" user.id %}'} {{user.email}}