Change the method in the example of performMethod

This commit is contained in:
pythonissam 2018-04-14 06:47:32 +00:00
parent a9030aa294
commit 860ef4127a

View File

@ -932,7 +932,7 @@ get = performMethod "GET"
-- --
-- ==== __Examples__ -- ==== __Examples__
-- --
-- > performMethod "GET" HomeR -- > performMethod "DELETE" HomeR
performMethod :: (Yesod site, RedirectUrl site url) performMethod :: (Yesod site, RedirectUrl site url)
=> ByteString => ByteString
-> url -> url