⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

grocery crud dialog forms and redirect



justdiego
  • profile picture
  • Member

Posted 25 July 2018 - 20:52 PM

Hi everyone, I am having some trouble with this: grocery_crud_dialog_forms.

 
Setting this at true, there is no chance that a redirect works.
 
I need that the following code works:
 
public function login_view(){
$this->load->view("login.php");
}
 
public function user_logout(){
  $this->session->sess_destroy();
  redirect('login_view', 'refresh');
}
 
How can I do this?