Permalink
Browse files

Add documentation

  • Loading branch information...
1 parent 8a2b74b commit 4ae76503afb9e18430dd7411c9dffa6f6292fa61 @ozataman committed Mar 14, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Snap/Restful.hs
View
@@ -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

0 comments on commit 4ae7650

Please sign in to comment.