Skip to content

Commit b9ebe89

Browse files
committed
Pass a Workspace to the request view
so that get_absolute_url works in the template
1 parent b78269d commit b9ebe89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airlock/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def request_view(request, request_id: str, path: str = ""):
210210
)
211211

212212
context = {
213-
"workspace": release_request.workspace,
213+
"workspace": api.get_workspace(release_request.workspace),
214214
"release_request": release_request,
215215
"path_item": path_item,
216216
"context": "request",

0 commit comments

Comments
 (0)