From 1fea214e909474297e19bdf4fc551921fa0447ea Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 6 Feb 2017 18:13:03 +0200 Subject: [PATCH] project entity --- app/library/App/Model/Project.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/library/App/Model/Project.php b/app/library/App/Model/Project.php index 16a7d60..bd78b43 100644 --- a/app/library/App/Model/Project.php +++ b/app/library/App/Model/Project.php @@ -29,11 +29,11 @@ class Project extends \App\Mvc\DateTrackingModel { ]; } -// public function initialize() { -// -// $this->belongsTo('user_id', User::class, 'id', [ -// 'alias' => 'User', -// ]); -// } + public function initialize() { + + $this->belongsTo('user_id', User::class, 'id', [ + 'alias' => 'User', + ]); + } } \ No newline at end of file -- libgit2 0.21.4