New middleware that should make sure the new forms redirect as well.

This commit is contained in:
James Cole
2019-08-05 19:45:20 +02:00
parent e37100ae97
commit 00d785d891
11 changed files with 149 additions and 569 deletions

View File

@@ -72,11 +72,9 @@ class EditController extends Controller
$accountToTypes = config('firefly.account_to_transaction');
$defaultCurrency = app('amount')->getDefaultCurrency();
$cash = $repository->getCashAccount();
$previousUri = $this->rememberPreviousUri('transactions.edit.uri');
return view('transactions.edit', compact('cash', 'transactionGroup', 'allowedOpposingTypes', 'accountToTypes', 'defaultCurrency'
));
return view('transactions.edit', compact('cash', 'transactionGroup', 'allowedOpposingTypes', 'accountToTypes', 'defaultCurrency', 'previousUri'));
}
}