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:
commit
548743d5da
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user