mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Update Story model
This commit is contained in:
parent
7654205408
commit
034fdb4d42
1 changed files with 5 additions and 0 deletions
|
@ -46,4 +46,9 @@ class Story extends Model
|
|||
->whereProfileId(Auth::user()->profile->id)
|
||||
->exists();
|
||||
}
|
||||
|
||||
public function permalink()
|
||||
{
|
||||
return url("/story/$this->id");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue