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');
}
}