Change the method in the example of performMethod
This commit is contained in:
parent
a9030aa294
commit
860ef4127a
@ -932,7 +932,7 @@ get = performMethod "GET"
|
||||
--
|
||||
-- ==== __Examples__
|
||||
--
|
||||
-- > performMethod "GET" HomeR
|
||||
-- > performMethod "DELETE" HomeR
|
||||
performMethod :: (Yesod site, RedirectUrl site url)
|
||||
=> ByteString
|
||||
-> url
|
||||
|
||||
Loading…
Reference in New Issue
Block a user