Merge branch 'master' of github.com:yesodweb/yesod
This commit is contained in:
commit
a9a8cd3286
@ -266,7 +266,7 @@ class RenderRoute site => Yesod site where
|
||||
-- Default: the 'defaultYesodMiddleware' function.
|
||||
--
|
||||
-- Since: 1.1.6
|
||||
yesodMiddleware :: HandlerT site IO res -> HandlerT site IO res
|
||||
yesodMiddleware :: ToTypedContent res => HandlerT site IO res -> HandlerT site IO res
|
||||
yesodMiddleware = defaultYesodMiddleware
|
||||
|
||||
-- | Default implementation of 'yesodMiddleware'. Adds the response header
|
||||
|
||||
@ -214,7 +214,7 @@ loadConfig (ConfigSettings env parseExtra getFile getObject) = do
|
||||
Nothing -> fail $ "Not found: " ++ show k
|
||||
|
||||
-- | Loads the configuration block in the passed file named by the
|
||||
-- passed environment, yeilds to the passed function as a mapping.
|
||||
-- passed environment, yields to the passed function as a mapping.
|
||||
--
|
||||
-- Errors in the case of a bad load or if your function returns
|
||||
-- @Nothing@.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user