Merge pull request #646 from kpodemski/patch-2

[*] CORE : Get instance of current category in category controller
This commit is contained in:
Gregory Roussac
2013-08-13 05:54:40 -07:00
+8
View File
@@ -205,5 +205,13 @@ class CategoryControllerCore extends FrontController
$this->context->smarty->assign('nb_products', $this->nbProducts);
}
/**
* Get instance of current category
*/
public function getCategory()
{
return $this->category;
}
}