Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 01b004be

Přidáno uživatelem Marek Zábran před téměř 5 roky(ů)

Relace Metadata|User.
Issue #7847 @0.25h

Zobrazit rozdíly:

app/Metadata.php
34 34
        return $this->belongsTo('App\Artefact');
35 35
    }
36 36

  
37

  
37
    /**
38
     * Get the users for the metadata.
39
     */
40
    public function users()
41
    {
42
        return $this->belongsToMany('App\User');
43
    }
38 44
}

Také k dispozici: Unified diff