Skip to content

Commit

Permalink
Get the participants table from config file
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanedev-maroc committed Feb 11, 2017
1 parent 14874e2 commit af43c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/Discussion.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function users()
{
return $this->belongsToMany(
$this->getModelFromConfig('users', \App\User::class),
'participants',
$this->getTableFromConfig('participants', 'participants'),
'discussion_id',
'user_id'
);
Expand Down

0 comments on commit af43c06

Please sign in to comment.