server/src/app/Models/CocoonDocument.php
author nowmad@nowmads-macbook-pro.local
Wed, 20 Jan 2016 13:04:27 +0100
changeset 89 89be68e13215
parent 18 f2a40bbc27f6
permissions -rw-r--r--
fix a problem after reloading the page the date tags couldn't be deleted

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

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