From e1546328c72b6e406a77bacbbd62ee5d7579a65b Mon Sep 17 00:00:00 2001 From: Grant Shangreaux Date: Tue, 24 Jan 2023 22:28:37 -0600 Subject: Add: navbar and hall-of-heroes list to tavern [frontend] --- model.lisp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'model.lisp') diff --git a/model.lisp b/model.lisp index f148455..e070f50 100644 --- a/model.lisp +++ b/model.lisp @@ -77,6 +77,9 @@ :documentation "Salt for this hero's password hash.")) (:metaclass db:persistent-class)) +(defun all-heroes () + (db:store-objects-with-class 'hero)) + ;; TODO expiration? (defclass session (db:store-object) ((hero :reader session-hero -- cgit v1.2.3