server/src/app/Models/CocoonRevision.php
author ymh <ymh.work@gmail.com>
Wed, 19 Oct 2016 15:55:04 +0200
changeset 370 d7c5b43d309a
parent 18 f2a40bbc27f6
permissions -rw-r--r--
add theme/subject filter to back documents api end point

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

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