Projekt

Obecné

Profil

« Předchozí | Další » 

Revize dc0fb924

Přidáno uživatelem Marek Zábran před více než 4 roky(ů)

Dodělání hlavní categorie dle hovoru s Fišárkem.

Zobrazit rozdíly:

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

  
38
    /**
39
     * Get the main category for the artefact.
40
     */
41
    public function main_category()
42
    {
43
        return $this->hasOne('App\Category', 'main_category_id');
44
    }
45

  
38 46
    /**
39 47
     * Get the categories for the artefact.
40 48
     */

Také k dispozici: Unified diff