refs: move layout to page function

Signed-off-by: John Keeping <john@keeping.me.uk>
This commit is contained in:
John Keeping 2015-08-14 12:47:16 +01:00 committed by Jason A. Donenfeld
parent 23c17d8ff0
commit 6d39dd1914
2 changed files with 3 additions and 2 deletions

2
cmd.c
View file

@ -166,7 +166,7 @@ struct cgit_cmd *cgit_get_cmd(void)
def_cmd(patch, 1, 0, 1, 0),
def_cmd(plain, 1, 0, 0, 0),
def_cmd(rawdiff, 1, 0, 1, 0),
def_cmd(refs, 1, 1, 0, 0),
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),