mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 00:05:29 +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)
|
->whereProfileId(Auth::user()->profile->id)
|
||||||
->exists();
|
->exists();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function permalink()
|
||||||
|
{
|
||||||
|
return url("/story/$this->id");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue