[Fencommits] fenserve: fix up links

Benja Fallenstein benja.fallenstein at gmail.com
Tue May 8 20:02:47 EEST 2007


Tue May  8 20:02:37 EEST 2007  Benja Fallenstein <benja.fallenstein at gmail.com>
  * fix up links
diff -rN -u old-fenserve/notetaker/Main.hs new-fenserve/notetaker/Main.hs
--- old-fenserve/notetaker/Main.hs	2007-05-08 20:02:47.000000000 +0300
+++ new-fenserve/notetaker/Main.hs	2007-05-08 20:02:47.000000000 +0300
@@ -57,8 +57,8 @@
       Just (Note title _ _ notes) ->
         let title' = renderPath p ++ " " ++ title in
         respond $ header title' ++ "<h2>" ++ title' ++ "</h2>"
-               ++ views v path nick ++ renderNotes p nick notes
-               ++ views v path nick ++ form nick ++ footer
+               ++ views v p nick ++ renderNotes p nick notes
+               ++ views v p nick ++ form nick ++ footer
       Nothing -> respond $ "Path not found: " ++ renderPath path
 
 -- get the path of the closest ancestor that is its own page




More information about the Fencommits mailing list