firefly-iii/app/controllers/HomeController.php

17 lines
367 B
PHP
Raw Normal View History

2014-06-28 02:41:44 -05:00
<?php
use Carbon\Carbon as Carbon;
use Firefly\Storage\Account\AccountRepositoryInterface as ARI;
2014-06-28 02:41:44 -05:00
class HomeController extends BaseController {
public function __construct(ARI $accounts) {
$this->accounts = $accounts;
}
2014-06-28 02:57:17 -05:00
public function index()
2014-06-28 02:41:44 -05:00
{
$count = $this->accounts->count();
return View::make('index')->with('count',$count);
2014-06-28 02:41:44 -05:00
}
}