Skip to main content

agorakit/agorakit

437 stars
1 code files
View agorakit/agorakit on GitHub

app/User.php

Open in GitHub
use Illuminate\Foundation\Auth\User as Authenticatable;
 
class User extends Authenticatable
{
//
public function discussionsSubscribed()
{
return $this->hasManyThrough(\App\Discussion::class, \App\Group::class);
}
//
}

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.