summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-03-11 21:42:41 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-03-11 21:42:41 +0100
commit211086aa91b5ed7f9525bf82793fc8525a55f185 (patch)
tree00b3ad34d892c826447603b6eed804df31a64fdd
parenta91deb0648eaf9e8526236c6e4cf29159567ceeb (diff)
downloadnixos-211086aa91b5ed7f9525bf82793fc8525a55f185.tar
nixos-211086aa91b5ed7f9525bf82793fc8525a55f185.tar.gz
nixos-211086aa91b5ed7f9525bf82793fc8525a55f185.tar.bz2
nixos-211086aa91b5ed7f9525bf82793fc8525a55f185.tar.xz
nixos-211086aa91b5ed7f9525bf82793fc8525a55f185.zip
Guess Approot
-rwxr-xr-xbragi/bar.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/bragi/bar.hs b/bragi/bar.hs
index 64650779..61d24119 100755
--- a/bragi/bar.hs
+++ b/bragi/bar.hs
@@ -123,7 +123,8 @@ mkYesod "BarInventory" [parseRoutes|
123/#ItemId/delete DeleteItemR POST 123/#ItemId/delete DeleteItemR POST
124|] 124|]
125 125
126instance Yesod BarInventory 126instance Yesod BarInventory where
127 approot = guessApproot
127 128
128instance RenderMessage BarInventory FormMessage where 129instance RenderMessage BarInventory FormMessage where
129 renderMessage _ _ = defaultFormMessage 130 renderMessage _ _ = defaultFormMessage