Fix "add category" button (#40)
This commit is contained in:
@@ -96,7 +96,7 @@ module Category =
|
||||
|
||||
// GET /admin/categories
|
||||
let all : HttpHandler = fun next ctx ->
|
||||
adminPage "Categories" true next ctx Views.WebLog.categoryList
|
||||
adminPage "Categories" true next ctx (Views.WebLog.categoryList (ctx.Request.Query.ContainsKey "new"))
|
||||
|
||||
// GET /admin/category/{id}/edit
|
||||
let edit catId : HttpHandler = fun next ctx -> task {
|
||||
|
||||
Reference in New Issue
Block a user