タグ登録機能の追加
This commit is contained in:
@@ -22,4 +22,9 @@ class Ejaculation extends Model
|
||||
{
|
||||
return $this->belongsTo('App\User');
|
||||
}
|
||||
|
||||
public function tags()
|
||||
{
|
||||
return $this->belongsToMany('App\Tag')->withTimestamps();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user