mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-31 19:27:51 -06:00
17 lines
367 B
PHP
17 lines
367 B
PHP
<?php
|
|
use Carbon\Carbon as Carbon;
|
|
use Firefly\Storage\Account\AccountRepositoryInterface as ARI;
|
|
|
|
class HomeController extends BaseController {
|
|
|
|
public function __construct(ARI $accounts) {
|
|
$this->accounts = $accounts;
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$count = $this->accounts->count();
|
|
return View::make('index')->with('count',$count);
|
|
}
|
|
}
|