Some code cleanup [skip ci]

This commit is contained in:
James Cole
2015-06-13 10:02:36 +02:00
parent fdef0de163
commit 8bd445ab19
11 changed files with 17 additions and 15 deletions

View File

@@ -88,7 +88,7 @@ class TransactionController extends Controller
Session::flash('gaEventCategory', 'transactions');
Session::flash('gaEventAction', 'delete-' . $what);
return view('transactions.delete', compact('journal', 'subTitle','what'));
return view('transactions.delete', compact('journal', 'subTitle', 'what'));
}
@@ -261,7 +261,7 @@ class TransactionController extends Controller
$what = strtolower($journal->transactionType->type);
$subTitle = trans('firefly.' . $journal->transactionType->type) . ' "' . e($journal->description) . '"';
return view('transactions.show', compact('journal', 'subTitle','what'));
return view('transactions.show', compact('journal', 'subTitle', 'what'));
}
/**