/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// in action $default = 'some_module/some_action'; $referer = $request->getReferer(); $this->redirect($referer ? $referer : $default);