update moon removal

This commit is contained in:
2020-02-09 00:14:11 -06:00
parent 4ebb9a7a3f
commit 088812a7eb

View File

@@ -169,11 +169,11 @@ class MoonsAdminController extends Controller
'Moon' => $moon,
])->delete();
return redirect('/moons/admin/display')->with('success', 'Renter removed.');
return redirect('/moons/admin/display/rentals')->with('success', 'Renter removed.');
}
//Redirect back to the moon page, which should call the page to be displayed correctly
return redirect('/moons/admin/display')->with('error', 'Something went wrong.');
return redirect('/moons/admin/display/rentals')->with('error', 'Something went wrong.');
}
/**