mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-24 03:59:08 -05:00
(Update) CRUDDY PT.1 🚀
This commit is contained in:
@@ -369,7 +369,7 @@ class BonusController extends Controller
|
||||
);
|
||||
|
||||
if ($dest == 'profile') {
|
||||
return redirect()->route('profile', ['username' => $recipient->slug, 'id'=> $recipient->id])
|
||||
return redirect()->route('users.show', ['username' => $recipient->username])
|
||||
->withSuccess('Gift Sent');
|
||||
}
|
||||
|
||||
@@ -389,7 +389,7 @@ class BonusController extends Controller
|
||||
}
|
||||
|
||||
if ($dest == 'profile') {
|
||||
return redirect()->route('profile', ['username' => $recipient->slug, 'id'=> $recipient->id])
|
||||
return redirect()->route('users.show', ['username' => $recipient->username])
|
||||
->withErrors('You Must Enter An Amount And Message!');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user