mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 16:23:16 +00:00
Hello Loops
This commit is contained in:
parent
ffe50d2c21
commit
a86a7d2769
3 changed files with 11 additions and 0 deletions
|
@ -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');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
5
resources/views/discover/loops/home.blade.php
Normal file
5
resources/views/discover/loops/home.blade.php
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
@extends('layouts.app')
|
||||||
|
|
||||||
|
@section('content')
|
||||||
|
|
||||||
|
@endsection
|
|
@ -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');
|
||||||
|
|
Loading…
Reference in a new issue