Add an example of twig implementation with abstract/pre-dispatch feature