summaryrefslogtreecommitdiffabout
path: root/ui-summary.c
Side-by-side diff
Diffstat (limited to 'ui-summary.c') (more/less context) (show whitespace changes)
-rw-r--r--ui-summary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-summary.c b/ui-summary.c
index b4bc6d8..fdee66b 100644
--- a/ui-summary.c
+++ b/ui-summary.c
@@ -57,13 +57,13 @@ static void cgit_print_object_ref(struct object *obj)
cgit_query_head, sha1_to_hex(obj->sha1));
return;
} else if (obj->type == OBJ_TREE) {
page = "tree";
arg = "id";
} else {
- page = "view";
+ page = "blob";
arg = "id";
}
url = cgit_pageurl(cgit_query_repo, page,
fmt("%s=%s", arg, sha1_to_hex(obj->sha1)));
html_link_open(url, NULL, NULL);