server/src/app/Models/CocoonDocument.php
author Chloe Laisne <chloe.laisne@gmail.com>
Mon, 17 Oct 2016 22:40:26 +0530
changeset 350 c3a6266ebe0a
parent 18 f2a40bbc27f6
permissions -rw-r--r--
Fix loading width height issues

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

class CocoonDocument extends Model
{
    public function revisions() {
        return $this->hasMany('CorpusParole\Models\CocoonDocument', 'document_id');
    }
}