aboutsummaryrefslogtreecommitdiff
path: root/Utility/Yesod.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-10-09 15:19:24 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-10-09 15:19:24 -0400
commitcfc51c5e4ec04f9d5088c42922217cf90b63c903 (patch)
tree203bd404d96bd426b6469ec438f042b4ebf655f4 /Utility/Yesod.hs
parenteefb2d7e01f2f251f407e27d6da4eaebbb9e2b8d (diff)
avoid using Assistant.WebApp.Bootstrap3 when building with current yesod
Only use that when building with ancient yesod, which does not include it. This also let me remove ifdefs in the file to support building with the new version of yesod.
Diffstat (limited to 'Utility/Yesod.hs')
-rw-r--r--Utility/Yesod.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Utility/Yesod.hs b/Utility/Yesod.hs
index 6d38ba4ed..9fba28732 100644
--- a/Utility/Yesod.hs
+++ b/Utility/Yesod.hs
@@ -25,10 +25,11 @@ module Utility.Yesod
#if MIN_VERSION_yesod(1,2,0)
import Yesod as Y
+import Yesod.Form.Bootstrap3 as Y hiding (bfs)
#else
import Yesod as Y hiding (Html)
-#endif
import Assistant.WebApp.Bootstrap3 as Y hiding (bfs)
+#endif
#ifndef __NO_TH__
import Yesod.Default.Util
import Language.Haskell.TH.Syntax (Q, Exp)