packages feed

Spock 0.4.3.2 → 0.4.3.3

raw patch · 2 files changed

+4/−3 lines, 2 files

Files

Spock.cabal view
@@ -1,5 +1,5 @@ name:                Spock-version:             0.4.3.2+version:             0.4.3.3 synopsis:            Another Haskell web toolkit based on scotty description:         This toolbox provides everything you need to get a quick start into web hacking with haskell: sessions, cookies, database helper, csrf-protection, global state and the power of scotty Homepage:            https://github.com/agrafix/Spock
Web/Spock/SafeActions.hs view
@@ -25,8 +25,9 @@ -- -- Note that safeActions currently only support GET and POST requests. ---safeActionPath :: forall a conn sess st. SafeAction a-               => a -> SpockAction conn sess st T.Text+safeActionPath :: SafeAction a+               => a+               -> SpockAction conn sess st T.Text safeActionPath safeAction =     do mgr <- getSessMgr        hash <- (sm_addSafeAction mgr) (PackedSafeAction safeAction)