mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 06:23:18 +00:00
Update DiscoverController
This commit is contained in:
parent
672bc9c34a
commit
c4483b378f
1 changed files with 3 additions and 0 deletions
|
@ -118,6 +118,9 @@ class DiscoverController extends Controller
|
||||||
|
|
||||||
public function showLoops(Request $request)
|
public function showLoops(Request $request)
|
||||||
{
|
{
|
||||||
|
if(config('exp.loops') != true) {
|
||||||
|
return redirect('/');
|
||||||
|
}
|
||||||
return view('discover.loops.home');
|
return view('discover.loops.home');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue