server/src/app/Models/CocoonRevision.php
author nowmad@23.1.168.192.in-addr.arpa
Thu, 21 Jan 2016 21:07:02 +0100
changeset 94 62984937a062
parent 18 f2a40bbc27f6
permissions -rw-r--r--
- add params when modal appear so we can come back right on this document modal - load the complete document info when modal is called or when played

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

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