server/src/app/Models/CocoonRevision.php
author ymh <ymh.work@gmail.com>
Fri, 12 Feb 2016 22:31:48 +0100
changeset 123 4c97e9da1416
parent 18 f2a40bbc27f6
permissions -rw-r--r--
Remove use of global variables + remove ember-cli-content-security-policy from package.json to avoid bogus csp violation warnings

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

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