Register a pre-handler for a route path.

Prehandlers are matched before every other handlers in registrastion order.

Property definitions

popcorn $ Router :: use_before
	# Register a pre-handler for a route `path`.
	#
	# Prehandlers are matched before every other handlers in registrastion order.
	fun use_before(path: String, handler: Handler) do
		var route = build_route(handler, path)
		pre_handlers[route] = handler
	end
lib/popcorn/pop_handlers.nit:330,2--336,4