feat: increase gallery grid from 4 to 5 columns per row on desktopfeat: increase gallery grid from 4 to 5 columns per row on desktop
This commit is contained in:
@@ -7,6 +7,7 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
|
||||
use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
|
||||
final class Tag extends Model
|
||||
{
|
||||
@@ -32,6 +33,11 @@ final class Tag extends Model
|
||||
->withPivot(['source', 'confidence']);
|
||||
}
|
||||
|
||||
public function synonyms(): HasMany
|
||||
{
|
||||
return $this->hasMany(TagSynonym::class);
|
||||
}
|
||||
|
||||
public function getRouteKeyName(): string
|
||||
{
|
||||
return 'slug';
|
||||
|
||||
Reference in New Issue
Block a user