kopia lustrzana https://github.com/pixelfed/pixelfed
Update Story model
rodzic
7654205408
commit
034fdb4d42
|
@ -46,4 +46,9 @@ class Story extends Model
|
|||
->whereProfileId(Auth::user()->profile->id)
|
||||
->exists();
|
||||
}
|
||||
|
||||
public function permalink()
|
||||
{
|
||||
return url("/story/$this->id");
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue