diff --git a/app/Http/Controllers/SiteController.php b/app/Http/Controllers/SiteController.php index 5b4e42ab..7202f7c6 100644 --- a/app/Http/Controllers/SiteController.php +++ b/app/Http/Controllers/SiteController.php @@ -29,11 +29,11 @@ class SiteController extends Controller public function homeTimeline(Request $request) { - $this->validate($request, [ - 'layout' => 'nullable|string|in:grid,feed' - ]); - $layout = $request->input('layout', 'feed'); - return view('timeline.home', compact('layout')); + if($request->has('force_old_ui')) { + return view('timeline.home', ['layout' => 'feed']); + } + + return redirect('/i/web'); } public function changeLocale(Request $request, $locale)