fix URL::retrieve

This commit is contained in:
Etienne Roudeix
2013-09-04 15:15:38 +02:00
parent f10294fee2
commit b910b0af86
7 changed files with 32 additions and 12 deletions

View File

@@ -9,6 +9,6 @@ class Content extends BaseContent
{
public function getUrl($locale)
{
return URL::init()->retrieve('content', $this->getId(), $locale);
return URL::init()->retrieve('content', $this->getId(), $locale)->toString();
}
}