lib/popcorn: introduce Router::use_before service
authorAlexandre Terrasa <alexandre@moz-code.org>
Mon, 23 May 2016 20:51:55 +0000 (16:51 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Wed, 25 May 2016 03:37:13 +0000 (23:37 -0400)
commit53470c705206bc2f93f855927a65fdd262f4da8d
treeec769cadee56c263a5f65eff55aae6dae55f88ba
parent6821fdcbe8197ee6e2a4da395e0e35e1d676d1b6
lib/popcorn: introduce Router::use_before service

So the user can force some middlewares to be called before the other handlers.

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib/popcorn/pop_handlers.nit