diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-11 21:42:41 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-11 21:42:41 +0100 |
commit | 211086aa91b5ed7f9525bf82793fc8525a55f185 (patch) | |
tree | 00b3ad34d892c826447603b6eed804df31a64fdd | |
parent | a91deb0648eaf9e8526236c6e4cf29159567ceeb (diff) | |
download | nixos-211086aa91b5ed7f9525bf82793fc8525a55f185.tar nixos-211086aa91b5ed7f9525bf82793fc8525a55f185.tar.gz nixos-211086aa91b5ed7f9525bf82793fc8525a55f185.tar.bz2 nixos-211086aa91b5ed7f9525bf82793fc8525a55f185.tar.xz nixos-211086aa91b5ed7f9525bf82793fc8525a55f185.zip |
Guess Approot
-rwxr-xr-x | bragi/bar.hs | 3 |
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 | ||
126 | instance Yesod BarInventory | 126 | instance Yesod BarInventory where |
127 | approot = guessApproot | ||
127 | 128 | ||
128 | instance RenderMessage BarInventory FormMessage where | 129 | instance RenderMessage BarInventory FormMessage where |
129 | renderMessage _ _ = defaultFormMessage | 130 | renderMessage _ _ = defaultFormMessage |