2014-01-22 4 views
0

내 컨트롤러의 페이지를 return $this->redirect($this->request->here); 으로 새로 고칩니다. 어느 것이 좋습니다.get 변수로 Cakephp 리디렉션

하지만 새로 고침에 GET 변수를 추가하고 싶습니다. 누구든지이 작업을 수행하는 방법을 알고 있습니까?

내가 사용중인 라우팅 때문에 컨트롤러 및 동작과 함께 Cakephp 리디렉션 기능을 사용할 수 없습니다. 그래서 this 여러 번 나를 위해 일을

+0

그것이 않을 것입니다 : - http://stackoverflow.com/questions/2814777/cake-php-redirect-with-parameters-in-url - HTTP : //stackoverflow.com/questions/11177154/cakephp-passing-arguments-in-controllerredirect – kicaj

답변

1
return $this->redirect($this->request->here . '?key=val'); 
+0

간단합니까? 솔루션에 대한 하하 감사합니다. – AgeDeO