Proper QQ in Settings

This commit is contained in:
Michael Snoyman 2011-10-23 15:40:05 +02:00
parent 8a015f25f3
commit 35d18b31ff
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ staticDir = "static"
--
-- To see how this value is used, see urlRenderOverride in Foundation.hs
staticRoot :: AppConfig DefaultEnv -> Text
staticRoot conf = [st|#{appRoot conf}/static|]
staticRoot conf = [~qq~st|#{appRoot conf}/static|]
-- The rest of this file contains settings which rarely need changing by a

View File

@ -35,7 +35,7 @@ staticDir = "static"
--
-- To see how this value is used, see urlRenderOverride in ~project~.hs
staticRoot :: AppConfig DefaultEnv -> Text
staticRoot conf = [st|#{appRoot conf}/static|]
staticRoot conf = [~qq~st|#{appRoot conf}/static|]
widgetFile :: String -> Q Exp
#if PRODUCTION