public function edit($id) { parent::routes()->render('edit_product.twig', array('app_base' => $this->appBase, 'products' => Product::showProduct($id), 'title' => 'Edit Product')); }