summaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
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))))