0

I am refreshing a page in my controller with return $this->redirect($this->request->here); Which works great.

But I want to add a GET variable to the refresh. Does anyone know how to do this?

It is not possible to use the Cakephp redirect function with controller and action because of the routing I am using. So this is not going to work for me

Community
  • 1
  • 1
AgeDeO
  • 3,137
  • 2
  • 25
  • 57
  • It was many times: - http://stackoverflow.com/questions/2814777/cake-php-redirect-with-parameters-in-url - http://stackoverflow.com/questions/11177154/cakephp-passing-arguments-in-controllerredirect – kicaj Jan 22 '14 at 08:46

1 Answers1

1
return $this->redirect($this->request->here . '?key=val');
cetver
  • 11,279
  • 5
  • 36
  • 56