diff --git a/app/Http/Controllers/DiscoverController.php b/app/Http/Controllers/DiscoverController.php index 0c87954e0..dbe08becf 100644 --- a/app/Http/Controllers/DiscoverController.php +++ b/app/Http/Controllers/DiscoverController.php @@ -115,4 +115,9 @@ class DiscoverController extends Controller }); return view('discover.personal', compact('posts', 'tags')); } + + public function showLoops(Request $request) + { + return view('discover.loops.home'); + } } diff --git a/resources/views/discover/loops/home.blade.php b/resources/views/discover/loops/home.blade.php new file mode 100644 index 000000000..d231d559c --- /dev/null +++ b/resources/views/discover/loops/home.blade.php @@ -0,0 +1,5 @@ +@extends('layouts.app') + +@section('content') + +@endsection \ No newline at end of file diff --git a/routes/web.php b/routes/web.php index 80dc86e50..10ea2fc1a 100644 --- a/routes/web.php +++ b/routes/web.php @@ -62,6 +62,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact Route::get('discover/c/{slug}', 'DiscoverController@showCategory'); Route::get('discover/personal', 'DiscoverController@showPersonal'); Route::get('discover', 'DiscoverController@home')->name('discover'); + Route::get('discover/loops', 'DiscoverController@showLoops'); Route::group(['prefix' => 'api'], function () { Route::get('search', 'SearchController@searchAPI');