Skip to content

Commit

Permalink
Merge 5701319 into 1ed9b17
Browse files Browse the repository at this point in the history
  • Loading branch information
rgrinberg committed Dec 2, 2014
2 parents 1ed9b17 + 5701319 commit b71b1af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Web/Scotty/Trans.hs
Expand Up @@ -89,7 +89,7 @@ scottyAppT :: (Monad m, Monad n)
-> n Application
scottyAppT runM runActionToIO defs = do
s <- runM $ execStateT (runS defs) def
let rapp = \ req callback -> runActionToIO (foldl (flip ($)) notFoundApp (routes s) req) >>= callback
let rapp req callback = runActionToIO (foldl (flip ($)) notFoundApp (routes s) req) >>= callback
return $ foldl (flip ($)) rapp (middlewares s)

notFoundApp :: Monad m => Scotty.Application m
Expand Down

0 comments on commit b71b1af

Please sign in to comment.