This commit is contained in:
James Cole 2017-02-15 15:12:46 +01:00
parent 6442887c1a
commit 47aa996b6b
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
2 changed files with 2 additions and 2 deletions

View File

@ -145,7 +145,7 @@ class ConvertController extends Controller
$errors = $repository->convert($journal, $destinationType, $source, $destination);
if ($errors->count() > 0) {
return redirect(route('transactions.convert', [strtolower($destinationType->type), $journal->id]))->withErrors($errors)->withInput();
return redirect(route('transactions.convert.index', [strtolower($destinationType->type), $journal->id]))->withErrors($errors)->withInput();
}
Session::flash('success', trans('firefly.converted_to_' . $destinationType->type));

View File

@ -772,7 +772,7 @@ Breadcrumbs::register(
$breadcrumbs->parent('transactions.show', $journal);
$breadcrumbs->push(
trans('firefly.convert_to_' . $destinationType->type, ['description' => $journal->description]),
route('transactions.convert', [strtolower($destinationType->type), $journal->id])
route('transactions.convert.index', [strtolower($destinationType->type), $journal->id])
);
}
);