I broke some stuff but it's fixed again.

This commit is contained in:
Sander Dorigo committed 2014-11-10 18:39:50 +01:00
1 parent d49ca2eb11
commit cb08df0770
1 file changed
+10 -1
+10 -1
View File
@@ -10,8 +10,17 @@ use Firefly\Storage\Category\CategoryRepositoryInterface as CRI;
*/
class CategoryController extends BaseController
{
public function __construct()
protected $_repository;
protected $_category;
/**
* @param CRI $repository
* @param CI $category
*/
public function __construct(CRI $repository, CI $category)
{
$this->_repository = $repository;
$this->_category = $category;
View::share('title', 'Categories');
View::share('mainTitleIcon', 'fa-bar-chart');
}