Align
This commit is contained in:
parent
dc84ecf71a
commit
9f0e3c902c
@ -5,9 +5,9 @@ module Views where
|
|||||||
import Data.Text (Text)
|
import Data.Text (Text)
|
||||||
import Data.Text.Lazy (toStrict)
|
import Data.Text.Lazy (toStrict)
|
||||||
import Text.Blaze.Html.Renderer.Text (renderHtml)
|
import Text.Blaze.Html.Renderer.Text (renderHtml)
|
||||||
import Text.Blaze.Html5 as H
|
import Text.Blaze.Html5 as H
|
||||||
import Text.Blaze.Html5.Attributes as A
|
import Text.Blaze.Html5.Attributes as A
|
||||||
import qualified Web.Spock.Safe as S
|
import qualified Web.Spock.Safe as S
|
||||||
|
|
||||||
render :: Html -> S.ActionT IO ()
|
render :: Html -> S.ActionT IO ()
|
||||||
render = S.html . toStrict . renderHtml
|
render = S.html . toStrict . renderHtml
|
||||||
|
Loading…
Reference in New Issue
Block a user