Update Discover
This commit is contained in:
parent
f3ed2462a7
commit
a87cc2dcaa
2 changed files with 32 additions and 3 deletions
|
@ -135,6 +135,7 @@ class DiscoverController extends Controller
|
|||
|
||||
public function profilesDirectory(Request $request)
|
||||
{
|
||||
return redirect('/')->with('statusRedirect', 'The Profile Directory is unavailable at this time.');
|
||||
return view('discover.profiles.home');
|
||||
}
|
||||
|
||||
|
@ -144,6 +145,8 @@ class DiscoverController extends Controller
|
|||
'page' => 'integer|max:10'
|
||||
]);
|
||||
|
||||
return ['error' => 'Temporarily unavailable.'];
|
||||
|
||||
$page = $request->input('page') ?? 1;
|
||||
$key = 'discover:profiles:page:' . $page;
|
||||
$ttl = now()->addHours(12);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue