/**
  * Show the application dashboard to the user.
  *
  * @return Response
  */
 public function index()
 {
     $ledger = new Ledger($this->repository);
     $c['ledger'] = $ledger;
     $c['accounts'] = Account::all();
     $c['categories'] = Category::all();
     return view('transaction/index', $c)->nest('transactions', 'transaction._list', ['transactions' => $ledger->transactions()]);
 }