• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Redirect in Events

#1
Can I redirect from Events
my code below not working
PHP Code:
Events::on('post_controller_constructor', function() {
   

    
return redirect('user/grid');
}); 

thanks
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.