server/src/app/Models/CocoonRevision.php
author ymh <ymh.work@gmail.com>
Mon, 03 Oct 2016 16:32:41 +0200
changeset 318 5564f5065f81
parent 18 f2a40bbc27f6
permissions -rw-r--r--
add a root url for corpus back apis. it is set to the same than root api for the moment

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

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