From cca38cfe03f216d6e513fa2bee30a0478f26e765 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Tue, 3 Dec 2013 12:01:11 +0200 Subject: [PATCH] Expand prefix on generated identifiers #625 --- yesod-core/Yesod/Core/Handler.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yesod-core/Yesod/Core/Handler.hs b/yesod-core/Yesod/Core/Handler.hs index f3b1799b..2de59844 100644 --- a/yesod-core/Yesod/Core/Handler.hs +++ b/yesod-core/Yesod/Core/Handler.hs @@ -697,7 +697,7 @@ newIdent = do x <- get let i' = ghsIdent x + 1 put x { ghsIdent = i' } - return $ T.pack $ 'h' : show i' + return $ T.pack $ "hident" ++ show i' -- | Redirect to a POST resource. --