YesodSite -> YesodDispatch

This commit is contained in:
Michael Snoyman 2012-10-12 10:59:44 +02:00
parent b36f6225c0
commit 97d652a528

View File

@ -19,9 +19,9 @@ import Network.HTTP.Conduit (newManager, def)
-- Don't forget to add new modules to your cabal file!
import Handler.Home
-- This line actually creates our YesodSite instance. It is the second half
-- of the call to mkYesodData which occurs in Foundation.hs. Please see
-- the comments there for more details.
-- This line actually creates our YesodDispatch instance. It is the second half
-- of the call to mkYesodData which occurs in Foundation.hs. Please see the
-- comments there for more details.
mkYesodDispatch "~sitearg~" resources~sitearg~
-- This function allocates resources (such as a database connection pool),