Shift to consistent, fluent response chains

This commit is contained in:
Laravel Shift
2019-05-09 00:05:17 +00:00
parent 97e88dd68b
commit 4853105815
21 changed files with 81 additions and 81 deletions
+2 -2
View File
@@ -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!');
}