mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Some cleanup.
This commit is contained in:
parent
2a3f9b621b
commit
fd678c286d
@ -10,17 +10,8 @@ use Firefly\Storage\Category\CategoryRepositoryInterface as CRI;
|
|||||||
*/
|
*/
|
||||||
class CategoryController extends BaseController
|
class CategoryController extends BaseController
|
||||||
{
|
{
|
||||||
protected $_repository;
|
public function __construct()
|
||||||
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('title', 'Categories');
|
||||||
View::share('mainTitleIcon', 'fa-bar-chart');
|
View::share('mainTitleIcon', 'fa-bar-chart');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user