summaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
authorcolin <colin@cicadas.surf>2023-03-06 18:33:45 -0800
committercolin <colin@cicadas.surf>2023-03-06 18:33:45 -0800
commit36df81a7e3bb23d4cc347cc335fbd9b949a6af91 (patch)
tree0c5178e513682b710a7bdc37441c7d287272799c /src/views
parentc06de3e0ee54c183fc8bb12c1fb5686694876eae (diff)
Altered: s/campaign/adventure globally
Diffstat (limited to 'src/views')
-rw-r--r--src/views/adventure.lisp8
-rw-r--r--src/views/campaign.lisp8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/views/adventure.lisp b/src/views/adventure.lisp
new file mode 100644
index 0000000..b4980f1
--- /dev/null
+++ b/src/views/adventure.lisp
@@ -0,0 +1,8 @@
+;;;; views/adventure.lisp -- views of for adventure instances
+
+(in-package :dnd)
+
+
+(defrender :inline ((adventure adventure))
+ (with-html
+ (:a :href (urlpath adventure) (title adventure))))
diff --git a/src/views/campaign.lisp b/src/views/campaign.lisp
deleted file mode 100644
index 5e1498a..0000000
--- a/src/views/campaign.lisp
+++ /dev/null
@@ -1,8 +0,0 @@
-;;;; views/campaign.lisp -- views of for campaign instances
-
-(in-package :dnd)
-
-
-(defrender :inline ((campaign campaign))
- (with-html
- (:a :href (urlpath campaign) (title campaign))))