trying to get session settings to work

This commit is contained in:
Chris
2018-10-15 16:00:20 +01:00
parent aceed3d13b
commit aa351e31bf
5 changed files with 38 additions and 14 deletions

View File

@@ -40,7 +40,7 @@ class User extends Authenticatable
*/
public function settings()
{
return $this->belongsToMany('App\Setting')->withPivot('value');
return $this->belongsToMany('App\Setting')->withPivot('uservalue');
}
public static function currentUser()