Some code cleanup.

This commit is contained in:
James Cole
2016-01-01 12:41:00 +01:00
parent 70c922cdc5
commit b415b6b043
14 changed files with 37 additions and 41 deletions

View File

@@ -195,7 +195,7 @@ class AccountController extends Controller
$subTitleIcon = Config::get('firefly.subTitlesByIdentifier.' . $account->accountType->type);
$what = Config::get('firefly.shortNamesByFullName.' . $account->accountType->type);
$journals = $repository->getJournals($account, $page);
$subTitle = trans('firefly.details_for_' . $what, ['name' => $account->name]);
$subTitle = trans('firefly.details_for_' . $what, ['name' => $account->name]);
$journals->setPath('accounts/show/' . $account->id);