Fixed template to take proper sitearg configuration
This commit is contained in:
parent
52ed616dd5
commit
da1dcc1206
@ -47,7 +47,7 @@ with~sitearg~ conf f = do
|
|||||||
with~sitearg~LoadConfig :: Settings.AppEnvironment -> (Application -> IO a) -> IO a
|
with~sitearg~LoadConfig :: Settings.AppEnvironment -> (Application -> IO a) -> IO a
|
||||||
with~sitearg~LoadConfig env f = do
|
with~sitearg~LoadConfig env f = do
|
||||||
conf <- Settings.loadConfig env
|
conf <- Settings.loadConfig env
|
||||||
withFoobar conf f
|
with~sitearg~ conf f
|
||||||
|
|
||||||
-- for yesod devel
|
-- for yesod devel
|
||||||
withDevelApp :: Dynamic
|
withDevelApp :: Dynamic
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user