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

@@ -63,8 +63,7 @@ class PaymentController extends Controller
}
return $o->wasRecentlyCreated
? redirect()
->to('r/payment/'.$o->id)
? redirect('r/payment/'.$o->id)
->with('success','Payment added')
: redirect()
->back()