mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Renamed attribute to tags & continued interface
Also fixed page create route broken in last commit
This commit is contained in:
@ -55,12 +55,12 @@ class Entity extends Ownable
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the Attribute models that have been user assigned to this entity.
|
||||
* Get the Tag models that have been user assigned to this entity.
|
||||
* @return \Illuminate\Database\Eloquent\Relations\MorphMany
|
||||
*/
|
||||
public function attributes()
|
||||
public function tags()
|
||||
{
|
||||
return $this->morphMany(Attribute::class, 'entity');
|
||||
return $this->morphMany(Tag::class, 'entity');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user