 }
 
 enum InfoType: Int {
-  case place = 1
-  case status = 2
-  case description = 3
+case place = 1
+case status = 2
+case description = 3
 }
 
 func getInfo(nodes: [JiNode], index: Int, infoType: InfoType) -> String {

    return try json.makeResponse()
  }

  func toDict() -> [String: Any] {
    return [
      "date": date,
      "place": place,

    return event.description
  }.debugDescription

  let nodes = events.map {
    try! Node(node: $0.toDict())
  }

  return try! JSON(node: nodes)
}



drop.get { req in
  return try drop.view.make("welcome", [
    "message": drop.localization[req.lang, "welcome", "title"]
  ])
}

drop.resource("posts", PostController())
