feat: update HTTP handlers and templates for shelf model
This commit is contained in:
@@ -407,7 +407,7 @@ Set by test harnesses that only need the model functions.")
|
||||
(if books
|
||||
(insert (spine-render "index.mustache"
|
||||
(spine-index-model books shelf-filter (cadr (assoc "id" query)))))
|
||||
(insert (spine-render-empty-state))))
|
||||
(insert (spine-render-empty-state)))))
|
||||
|
||||
(defun httpd/add (proc uri-path query request)
|
||||
"Handle /add: GET shows form, POST creates a book."
|
||||
|
||||
Reference in New Issue
Block a user