diff options
| author | John Keeping <[email protected]> | 2015-08-14 11:47:17 +0000 |
|---|---|---|
| committer | Jason A. Donenfeld <[email protected]> | 2015-08-14 13:46:51 +0000 |
| commit | 892c5441f4af2f53a3b1906c4d7e458829e0cf0a (patch) | |
| tree | 5db7624970e2663ccb61cb14c4bbc6cb03024272 /cmd.c | |
| parent | refs: move layout to page function (diff) | |
| download | cgit-892c5441f4af2f53a3b1906c4d7e458829e0cf0a.tar.gz cgit-892c5441f4af2f53a3b1906c4d7e458829e0cf0a.zip | |
stats: move layout into page function
This also allows us to return proper HTTP error codes for invalid
requests.
Signed-off-by: John Keeping <[email protected]>
Diffstat (limited to 'cmd.c')
| -rw-r--r-- | cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -169,7 +169,7 @@ struct cgit_cmd *cgit_get_cmd(void) def_cmd(refs, 1, 0, 0, 0), def_cmd(repolist, 0, 0, 0, 0), def_cmd(snapshot, 1, 0, 0, 0), - def_cmd(stats, 1, 1, 1, 0), + def_cmd(stats, 1, 0, 1, 0), def_cmd(summary, 1, 1, 0, 0), def_cmd(tag, 1, 1, 0, 0), def_cmd(tree, 1, 1, 1, 0), |
