public function __construct() { $index = new Route('diensten', 'index'); $service = new Route('%s', 'service'); $index->add_route($service); $this->add_route($index); }
public function __construct() { $index = new Route('(te-koop|te-huur)', 'index'); $detail = new Route('%s/%d', 'detail'); $index->add_route($detail); $this->add_route($index); }