server/src/app/Models/CocoonRevision.php
author nowmad@nowmads-macbook-pro.local
Fri, 11 Dec 2015 13:13:47 +0100
changeset 51 70dff07a76ff
parent 18 f2a40bbc27f6
permissions -rw-r--r--
add click event on visu-carto and visu-langue and update the url with the selected element as filter parameter

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

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