Adding Controller::flash() fix for Ticket #1783

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4164 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2006-12-23 20:31:06 +00:00
parent ae1c471316
commit ebe6bab814

View file

@ -616,7 +616,7 @@ class Controller extends Object {
function flash($message, $url, $pause = 1) {
$this->autoRender = false;
$this->autoLayout = false;
$this->set('url', $this->base . $url);
$this->set('url', Router::url($url));
$this->set('message', $message);
$this->set('pause', $pause);
$this->set('page_title', $message);