documentation fixes

This commit is contained in:
Mark Wotton 2016-03-21 17:20:02 -04:00
parent ef00ddd80b
commit f2341355c1

View File

@ -695,12 +695,13 @@ get url = request $ do
setUrl url setUrl url
-- | Follow a redirect, if the last response was a redirect. -- | Follow a redirect, if the last response was a redirect.
-- | (We consider 301, 302, 303, 307 and 308 as redirects.)
-- | Return Left with an error message if not a redirect -- | Return Left with an error message if not a redirect
-- | Return Right with the redirected URL if it was. -- | Return Right with the redirected URL if it was.
-- --
-- ==== __Examples__ -- ==== __Examples__
-- > get HomeR
-- --
-- > get HomeR
-- > followRedirect -- > followRedirect
followRedirect :: Yesod site followRedirect :: Yesod site
=> YesodExample site (Either T.Text T.Text) => YesodExample site (Either T.Text T.Text)