server/src/app/Models/CocoonDocument.php
author ymh <ymh.work@gmail.com>
Fri, 03 Feb 2017 13:01:08 +0100
changeset 495 c71923e6fa2f
parent 18 f2a40bbc27f6
permissions -rw-r--r--
Correct error when transitioning between thematiques tabs and others (bug #0025983) + correct scroll for themes

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

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