瀏覽代碼

* screwed up with defaultLayout. Let’s see if the benchmark accepts this.

Saurabh Nanda 9 年之前
父節點
當前提交
f2c4af738c
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0 5
      frameworks/Haskell/yesod-postgres/bench/src/Main.hs

+ 0 - 5
frameworks/Haskell/yesod-postgres/bench/src/Main.hs

@@ -174,11 +174,6 @@ getFortunesR = do
   fortunesFromDb <- runPg $ selectList [] []
   let fortunes = sortBy (compare `on` fortuneMessage . entityVal) $ (Entity (toSqlKey 0) Fortune{fortuneMessage="Additional fortune added at request time."}):fortunesFromDb
   defaultLayout [whamlet|
-                  $doctype 5
-                  <html>
-                    <head>
-                      <title>Fortunes 
-                    <body>
                       <table>
                         <tr>
                           <th>id