Minor tweaks

This commit is contained in:
Michael Snoyman 2014-03-04 15:02:01 +02:00
parent a83971c273
commit 5cb02e2a9b
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ extra-source-files:
library
build-depends: base >= 4.3 && < 5
, time >= 1.1.4
, yesod-routes >= 1.2 && < 1.3
, yesod-routes >= 1.2.1 && < 1.3
, wai >= 1.4
, wai-extra >= 1.3
, bytestring >= 0.9.1.4

View File

@ -83,7 +83,7 @@ mkSimpleDispatchClause MkDispatchSettings {..} resources = do
let restE = VarE restName
restP = VarP restName
helperName <- newName "helper"
helperName <- newName $ "helper" ++ name
let helperE = VarE helperName
return $ Clause