Hello Loops

This commit is contained in:
Daniel Supernault 2019-05-25 18:56:21 -06:00
parent ffe50d2c21
commit a86a7d2769
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
3 changed files with 11 additions and 0 deletions

View file

@ -115,4 +115,9 @@ class DiscoverController extends Controller
}); });
return view('discover.personal', compact('posts', 'tags')); return view('discover.personal', compact('posts', 'tags'));
} }
public function showLoops(Request $request)
{
return view('discover.loops.home');
}
} }

View file

@ -0,0 +1,5 @@
@extends('layouts.app')
@section('content')
@endsection

View file

@ -62,6 +62,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
Route::get('discover/c/{slug}', 'DiscoverController@showCategory'); Route::get('discover/c/{slug}', 'DiscoverController@showCategory');
Route::get('discover/personal', 'DiscoverController@showPersonal'); Route::get('discover/personal', 'DiscoverController@showPersonal');
Route::get('discover', 'DiscoverController@home')->name('discover'); Route::get('discover', 'DiscoverController@home')->name('discover');
Route::get('discover/loops', 'DiscoverController@showLoops');
Route::group(['prefix' => 'api'], function () { Route::group(['prefix' => 'api'], function () {
Route::get('search', 'SearchController@searchAPI'); Route::get('search', 'SearchController@searchAPI');