Merge pull request #564 from imvu/master

Request to add a ToTypedContent to the response tyvar of Handler for yesodMiddleware.
This commit is contained in:
Michael Snoyman 2013-06-18 01:09:27 -07:00
commit 548743d5da

View File

@ -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