]> git.cameronkatri.com Git - cgit.git/blobdiff - cmd.c
ui-summary: enable arbitrary paths below repo.readme
[cgit.git] / cmd.c
diff --git a/cmd.c b/cmd.c
index cf97da75a17f733b0627066921dbabf424165a6c..766f90397b89d2407574f3e2bf7056df68b43add 100644 (file)
--- a/cmd.c
+++ b/cmd.c
@@ -39,7 +39,7 @@ static void atom_fn(struct cgit_context *ctx)
 static void about_fn(struct cgit_context *ctx)
 {
        if (ctx->repo)
-               cgit_print_repo_readme();
+               cgit_print_repo_readme(ctx->qry.path);
        else
                cgit_print_site_readme();
 }