YesodSite -> YesodDispatch
This commit is contained in:
parent
b36f6225c0
commit
97d652a528
@ -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),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user