rental admin controller

This commit is contained in:
2020-09-03 01:54:06 -05:00
parent 16e5a9808b
commit 94307d105d

View File

@@ -132,7 +132,7 @@ class RentalAdminController extends Controller
'paid_until' => $request->paid_until, 'paid_until' => $request->paid_until,
]); ]);
return redirect('/rental/display')->with('success', 'Rental System updated.'); return redirect('/system/rental/dashboard')->with('success', 'Rental System updated.');
} }
/** /**
@@ -151,6 +151,6 @@ class RentalAdminController extends Controller
'system_id' => $request->system_id, 'system_id' => $request->system_id,
])->delete(); ])->delete();
return redirect('/rental/display')->with('success', 'Removed renter from database.'); return redirect('/system/rental/dashboard')->with('success', 'Removed renter from database.');
} }
} }