Selaa lähdekoodia

PAGE-URL should always return a pathname.

Brit Butler 11 vuotta sitten
vanhempi
commit
235b727017
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/documents.lisp

+ 1 - 1
src/documents.lisp

@@ -37,7 +37,7 @@
37 37
 (defmethod page-url :around ((document t))
38 38
   (let ((result (call-next-method)))
39 39
     (if (pathname-type result)
40
-        result
40
+        (make-pathname :defaults result)
41 41
         (make-pathname :type "html" :defaults result))))
42 42
 
43 43
 (defgeneric render (document &key &allow-other-keys)