/** * Get the URL to the post. * * @return string */ public function url() { return Url::to('blog/' . $this->slug); }