src/main/scala/net/tz/lift/boot/ProtoBoot.scala
changeset 11 43fa65f5072e
parent 5 993582ca8d2e
child 22 94ed9cfdb123
equal deleted inserted replaced
10:fc7b6a99deb4 11:43fa65f5072e
    28 /**
    28 /**
    29  * Prototype boot class to be either extended or copied.
    29  * Prototype boot class to be either extended or copied.
    30  */
    30  */
    31 class ProtoBoot extends Logger {
    31 class ProtoBoot extends Logger {
    32 
    32 
    33   def boot = {
    33   def boot: Unit = {
    34     /* DB stuff */
    34     /* DB stuff */
    35     /*
    35     /*
    36     S.addAround(DB.buildLoanWrapper())
    36     S.addAround(DB.buildLoanWrapper())
    37     */
    37     */
    38 
    38 
    74     MenuWidget.init()
    74     MenuWidget.init()
    75 
    75 
    76     /* Http conf */
    76     /* Http conf */
    77     LiftRules.logServiceRequestTiming = false
    77     LiftRules.logServiceRequestTiming = false
    78     LiftRules.early.append(_.setCharacterEncoding("UTF-8"))
    78     LiftRules.early.append(_.setCharacterEncoding("UTF-8"))
       
    79 
       
    80     ()
    79   }
    81   }
    80 
    82 
    81 }
    83 }
    82 
    84 
    83 // vim: set ts=2 sw=2 et:
    85 // vim: set ts=2 sw=2 et: