mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 06:03:39 +08:00
Include editUser relationship when editing posts.
Closes flarum/core#214. Hopefully. :)
This commit is contained in:
parent
13be680f7d
commit
7ab5f0a160
|
@ -21,7 +21,9 @@ class UpdateAction extends SerializeResourceAction
|
|||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
public $include = [];
|
||||
public $include = [
|
||||
'editUser' => true,
|
||||
];
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
|
|
Loading…
Reference in New Issue
Block a user