Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //line 132
- Event::listen('404', function() {
- if($notLoggedIn){
- return Response::error('404'); //or a fancy View
- }else{
- return Redirect::to("/");
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement