mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 21:43:17 +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)
|
||||
{
|
||||
if(config('exp.loops') != true) {
|
||||
return redirect('/');
|
||||
}
|
||||
return view('discover.loops.home');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue