Update DiscoverController

This commit is contained in:
Daniel Supernault 2019-06-03 12:50:37 -06:00
parent 672bc9c34a
commit c4483b378f
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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');
} }
} }