Files
sterivein/core/lib/Thelia/Model/ContentI18n.php
2013-09-17 20:45:29 +02:00

15 lines
360 B
PHP
Executable File

<?php
namespace Thelia\Model;
use Propel\Runtime\Connection\ConnectionInterface;
use Thelia\Model\Base\ContentI18n as BaseContentI18n;
class ContentI18n extends BaseContentI18n {
public function postInsert(ConnectionInterface $con = null)
{
$content = $this->getContent();
$content->generateRewrittenUrl($this->getLocale());
}
}