Browse Source

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

Saurabh Nanda 9 years ago
parent
commit
f2c4af738c
1 changed files with 0 additions and 5 deletions
  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