Syndicate bookmarks via jobs
This commit is contained in:
parent
917a673f05
commit
f007b24065
9 changed files with 161 additions and 10 deletions
|
@ -20,4 +20,12 @@ class Bookmark extends Model
|
|||
{
|
||||
return $this->belongsToMany('App\Tag');
|
||||
}
|
||||
|
||||
/**
|
||||
* The full url of a bookmark
|
||||
*/
|
||||
public function getLongurlAttribute()
|
||||
{
|
||||
return config('app.url') . '/bookmarks/' . $this->id;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue