server/src/app/Models/CocoonRevision.php
author nowmad@23.1.168.192.in-addr.arpa
Fri, 18 Dec 2015 15:19:19 +0100
changeset 74 2bd46d0b2c80
parent 18 f2a40bbc27f6
permissions -rw-r--r--
Propagate the current query param to the new route (necessary when the route change comes from outside the app)

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

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