Hi! I'm having a problem with redirecting in grocery Crud 2 : I know that in grocery crud: callback_after_insert I can excecute $this->crud->setLangString('insert_success_message',$data);
but in here the variable $this->crud or just $crud is unknown, so I can´t make the redirection. Others things that I've tried:
*return header("Location: ".$link ); (this one just doesnt redirect me, just excecute the save and go back to list like if the redirection weren´t there )
*return redirect()->to($link ); (same that return header)
I'll apreciate some help !!!