summaryrefslogtreecommitdiff
path: root/src/views/adventure.lisp
diff options
context:
space:
mode:
authorcolin <colin@cicadas.surf>2023-04-01 09:48:08 -0700
committercolin <colin@cicadas.surf>2023-04-01 09:48:08 -0700
commitcc3f850c514967ae2f9effef7e68e1d4965c6865 (patch)
tree6d0b52c3a65d53f247f4c8272667aca5a4e05bac /src/views/adventure.lisp
parent56a584ab1b13ff9510dd5145a778000169901a76 (diff)
Refactor to make cooperative hacking nicer
Diffstat (limited to 'src/views/adventure.lisp')
-rw-r--r--src/views/adventure.lisp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/views/adventure.lisp b/src/views/adventure.lisp
deleted file mode 100644
index 85d8e3d..0000000
--- a/src/views/adventure.lisp
+++ /dev/null
@@ -1,14 +0,0 @@
-;;;; views/adventure.lisp -- views of for adventure instances
-
-(in-package :dnd)
-
-(defrender :inline ((adventure adventure))
- (with-html
- (:a :href (urlpath adventure) (title adventure))))
-
-(defrender :option ((adventure adventure))
- (with-html
- (:option :value (uid adventure) (title adventure))))
-
-(defrender :list-item ((adventure adventure))
- (render :inline adventure))