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:
2025-05-16 13:58:20 +10:00
parent 256e4c6260
commit 8d72c1ceb5
10 changed files with 57 additions and 58 deletions

View File

@@ -34,8 +34,7 @@ class CheckoutController extends Controller
}
return $o->wasRecentlyCreated
? redirect()
->to('a/checkout/'.$o->id)
? redirect('a/checkout/'.$o->id)
->with('success','Checkout added')
: redirect()
->back()