1
0

Small redirect change

This commit is contained in:
Christiaan Goossens 2017-04-02 09:23:58 +02:00
parent 6e0e8cbd7c
commit d982b97455

View File

@ -45,7 +45,7 @@ class Overboeking
try { try {
$ibanhelper = new IBAN(); $ibanhelper = new IBAN();
Overboekingen::createOverboeking($ibanhelper->getIBAN($van), $naar, $bedrag, $omschrijving, "bg"); Overboekingen::createOverboeking($ibanhelper->getIBAN($van), $naar, $bedrag, $omschrijving, "bg");
return Redirect::create($request, $response, "/"); return Redirect::create($request, $response, "/rekeningen/$van");
} catch (Exception $e) { } catch (Exception $e) {
return Redirect::create($request, $response, "/overboeking?$e"); return Redirect::create($request, $response, "/overboeking?$e");
} }