Commit 7242e371 authored by Luke Ward's avatar Luke Ward
Browse files

Fixed article permalink for emails #7

parent 62c19b5c
......@@ -64,7 +64,7 @@
}
private function generate() {
$this->data->permalink = '/article/' . $this->data->slug;
$this->data->permalink = \dtw\DtW::$config->get('site.domain') . '/article/' . $this->data->slug;
$this->data->titleSafe = htmlspecialchars($this->data->title);
$content = $this->data->content;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment