1
0

Improved Blogpost view

This commit is contained in:
2014-07-12 16:42:24 +02:00
parent abcc540713
commit 14f3d5df3b
8 changed files with 245 additions and 158 deletions

View File

@@ -96,4 +96,11 @@ class BlogPost extends CActiveRecord
{
return parent::model($className);
}
/**
* @return string
*/
public function getLink() {
return '/blog/' . $this->ID;
}
}