From d4fb5c646d112e3fc8d66f7f6e795946b7465919 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 29 Jul 2025 11:30:07 -0500 Subject: Add new route for consistency. --- gn_auth/auth/authorisation/resources/views.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gn_auth/auth') diff --git a/gn_auth/auth/authorisation/resources/views.py b/gn_auth/auth/authorisation/resources/views.py index ed118cd..02d2b76 100644 --- a/gn_auth/auth/authorisation/resources/views.py +++ b/gn_auth/auth/authorisation/resources/views.py @@ -100,7 +100,9 @@ def create_resource() -> Response: f"{type(sql3ie)=}: {sql3ie=}") raise + @resources.route("/view/") +@resources.route("//view") @require_oauth("profile group resource") def view_resource(resource_id: UUID) -> Response: """View a particular resource's details.""" -- cgit 1.4.1