Template routes for Spark web framework