Refactor new books into moderate submissions
This commit is contained in:
parent
897071e85d
commit
4efaaadbd2
8 changed files with 162 additions and 153 deletions
|
@ -172,7 +172,7 @@ func readHandler(h handler) {
|
|||
|
||||
data.Book = book
|
||||
if !book.Active {
|
||||
data.Back = "/new/"
|
||||
data.Back = "/submission/moderate/"
|
||||
} else {
|
||||
data.Back = "/book/" + id
|
||||
}
|
||||
|
|
Reference in a new issue