cleanup
This commit is contained in:
parent
d6835b6cc7
commit
27fcf68a61
@ -125,12 +125,8 @@ withLatestJournalRender reportfn = do
|
||||
req <- getRequest
|
||||
msg <- getMessage
|
||||
return $ RepHtml $ toContent $ renderHamlet id $ template req msg as ps "hledger" s
|
||||
-- hamletToRepHtml $ template req msg as ps "hledger" s
|
||||
-- template :: Request -> Maybe (Html ()) -> [String] -> [String] -> String -> String -> Hamlet (Routes HledgerWebApp)
|
||||
-- Couldn't match expected type `Routes HledgerWebApp'
|
||||
-- against inferred type `[Char]'
|
||||
-- hamletToRepHtml $ template req msg as ps "hledger" s
|
||||
|
||||
-- template :: Request -> Maybe (Html ()) -> [String] -> [String] -> String -> String -> Hamlet String
|
||||
template req msg as ps title content = [$hamlet|
|
||||
!!!
|
||||
%html
|
||||
|
||||
Loading…
Reference in New Issue
Block a user