settings and page view

This commit is contained in:
merdan 2020-04-07 19:31:19 +05:00
parent 4368f5d1bb
commit b3a519a222
1 changed files with 2 additions and 0 deletions

View File

@ -58,7 +58,9 @@ class Page extends Model
public function getPageLink()
{
$slug = $this->slug?:Str::substr($this->slug,0,Str::length($this->slug)-3);
dd($slug);
return url($slug);
}