Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add documentation

  • Loading branch information...
commit 4ae76503afb9e18430dd7411c9dffa6f6292fa61 1 parent 8a2b74b
@ozataman authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/Snap/Restful.hs
View
1  src/Snap/Restful.hs
@@ -152,6 +152,7 @@ initRest :: HasHeist b
-> [(Text, Handler b v ())]
-- ^ Additional instance/item level handlers
-> Snaplet (Heist b)
+ -- ^ The Heist snaplet initialized in your app's 'Initializer'
-> Initializer b v ()
initRest res rHandlers rResourceActions rItemActions h = do
addRoutes $ resourceRoutes res rHandlers rResourceActions rItemActions
Please sign in to comment.
Something went wrong with that request. Please try again.