server/src/app/Models/CocoonRevision.php
author ymh <ymh.work@gmail.com>
Tue, 11 Oct 2016 16:39:11 +0200
changeset 327 13564bb13ccc
parent 18 f2a40bbc27f6
permissions -rw-r--r--
In the serialized document the lan files id 'languages' and not 'language'

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

class CocoonRevision extends Model
{
    public function document() {
        return $this->belongsTo('CorpusParole\Models\CocoonDocument');
    }
}