mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-23 09:26:29 -06:00
I broke some stuff but it's fixed again.
This commit is contained in:
parent
d49ca2eb11
commit
cb08df0770
@ -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');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user