summaryrefslogtreecommitdiffabout
path: root/ui-shared.c
Side-by-side diff
Diffstat (limited to 'ui-shared.c') (more/less context) (ignore whitespace changes)
-rw-r--r--ui-shared.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui-shared.c b/ui-shared.c
index 45105dc..1418010 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -274,2 +274,5 @@ void cgit_object_link(struct object *obj)
arg = "id";
+ } else if (obj->type == OBJ_TAG) {
+ page = "tag";
+ arg = "id";
} else {