Account show didn't show anything.

This commit is contained in:
James Cole
2015-03-01 10:44:10 +01:00
parent 19e34b460f
commit 675530458c
3 changed files with 16 additions and 2 deletions

View File

@@ -74,6 +74,12 @@ class AccountController extends Controller
return Redirect::route('accounts.index', $typeName);
}
/**
* @param Account $account
* @param AccountRepositoryInterface $repository
*
* @return View
*/
public function edit(Account $account, AccountRepositoryInterface $repository)
{
$what = Config::get('firefly.shortNamesByFullName')[$account->accountType->type];