Skip to content

Commit

Permalink
Remove some unused template context from code views
Browse files Browse the repository at this point in the history
These variables were previously used in shared code for the request
and workspace views. Now that we're refactored those to move logic
into the views, we don't need them here either.
  • Loading branch information
rebkwok committed Sep 5, 2024
1 parent 1ad860e commit 3d28bbf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions airlock/views/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@ def view(request, workspace_name: str, commit: str, path: str = ""):
"repo": repo,
"root": tree,
"path_item": path_item,
"is_supporting_file": False,
"is_author": False,
"is_output_checker": False,
"title": f"{repo.repo}@{commit[:7]}",
"current_request": current_request,
"return_url": return_url,
Expand Down

0 comments on commit 3d28bbf

Please sign in to comment.