start rewriting
This commit is contained in:
@@ -3,11 +3,12 @@
|
||||
namespace Thelia\Model;
|
||||
|
||||
use Thelia\Model\Base\Content as BaseContent;
|
||||
use Thelia\Tools\URL;
|
||||
|
||||
class Content extends BaseContent
|
||||
{
|
||||
public function getUrl()
|
||||
public function getUrl($locale)
|
||||
{
|
||||
|
||||
return URL::retrieve('content', $this->getId(), $locale);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user