mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-28 22:41:13 -05:00
Shift to consistent, fluent response chains
This commit is contained in:
@@ -602,7 +602,7 @@ class ForumController extends Controller
|
||||
$user->addProgress(new UserMade800Posts(), 1);
|
||||
$user->addProgress(new UserMade900Posts(), 1);
|
||||
|
||||
return redirect($realUrl)
|
||||
return redirect()->to($realUrl)
|
||||
->withSuccess('Post Successfully Posted');
|
||||
}
|
||||
}
|
||||
@@ -826,7 +826,7 @@ class ForumController extends Controller
|
||||
$post->content = $request->input('content');
|
||||
$post->save();
|
||||
|
||||
return redirect($postUrl)
|
||||
return redirect()->to($postUrl)
|
||||
->withSuccess('Post Successfully Edited!');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user