Merge pull request #3023 from CihanSenturk/add-dashboards-relationship-userdashboard
added dashboards relationship to UserDashboard model
This commit is contained in:
		@@ -33,4 +33,9 @@ class UserDashboard extends Model
 | 
			
		||||
    {
 | 
			
		||||
        return $this->belongsTo('App\Models\Common\Dashboard');
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function dashboards()
 | 
			
		||||
    {
 | 
			
		||||
        return $this->belongsToMany('App\Models\Common\Dashboard', 'App\Models\Auth\UserDashboard');
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user