Changed "return_to" into "previous"
This commit is contained in:
@@ -153,7 +153,7 @@ class UrlGenerator extends AbstractSmartyPlugin
|
|||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
"current" => "getCurrentUrl",
|
"current" => "getCurrentUrl",
|
||||||
"return_to" => "getReturnToUrl",
|
"previous " => "getPreviousUrl",
|
||||||
"index" => "getIndexUrl",
|
"index" => "getIndexUrl",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -178,7 +178,7 @@ class UrlGenerator extends AbstractSmartyPlugin
|
|||||||
return $this->request->getUri();
|
return $this->request->getUri();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function getReturnToUrl()
|
protected function getPreviousUrl()
|
||||||
{
|
{
|
||||||
return URL::getInstance()->absoluteUrl($this->request->getSession()->getReturnToUrl());
|
return URL::getInstance()->absoluteUrl($this->request->getSession()->getReturnToUrl());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user