scratch/output/Scratch/fr/blog/Yesod-tutorial-for-newbies/code/Echo.hs
Yann Esposito (Yogsototh) e4420b58db Last update
2011-12-30 17:14:57 +01:00

9 lines
158 B
Haskell

module Handler.Echo where
import Import
getEchoR :: Text -> Handler RepHtml
getEchoR theText = do
defaultLayout $ do
[whamlet|<h1>#{theText}|]