From 7ab5f0a160cc56872d5bb3ab1356a736b9a241ab Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Tue, 4 Aug 2015 13:15:56 +0200 Subject: [PATCH] Include editUser relationship when editing posts. Closes flarum/core#214. Hopefully. :) --- framework/core/src/Api/Actions/Posts/UpdateAction.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/framework/core/src/Api/Actions/Posts/UpdateAction.php b/framework/core/src/Api/Actions/Posts/UpdateAction.php index 204df58cf..6c937e98d 100644 --- a/framework/core/src/Api/Actions/Posts/UpdateAction.php +++ b/framework/core/src/Api/Actions/Posts/UpdateAction.php @@ -21,7 +21,9 @@ class UpdateAction extends SerializeResourceAction /** * @inheritdoc */ - public $include = []; + public $include = [ + 'editUser' => true, + ]; /** * @inheritdoc