Route cosmetic layout updates, and standardise on using /home to redirect back to the homescreen, and standardise usage of redirect()
This commit is contained in:
@@ -30,7 +30,9 @@ class SupplierController extends Controller
|
||||
$o->save();
|
||||
|
||||
} catch (\Exception $e) {
|
||||
return redirect()->back()->withErrors($e->getMessage())->withInput();
|
||||
return redirect()
|
||||
->back()
|
||||
->withErrors($e->getMessage())->withInput();
|
||||
}
|
||||
|
||||
$o->load(['detail']);
|
||||
|
Reference in New Issue
Block a user