lib/popcorn: document use_before and use_after
[nit.git] / lib / popcorn / examples / middlewares / example_simple_logger.nit
index 98be552..4052169 100644 (file)
@@ -30,6 +30,6 @@ end
 
 
 var app = new App
-app.use("/*", new LogHandler)
+app.use_before("/*", new LogHandler)
 app.use("/", new HelloHandler)
 app.listen("localhost", 3000)