mirror of
https://github.com/flarum/core.git
synced 2025-10-12 15:34:26 +02:00
Convert the rest of the API to new action architecture
Also make some tweaks: - Merge SerializeAction::$include and SerializeAction::$includeAvailable into a keyed boolean array - Set defaults for SerializeAction::$limit and $limitMax - Rename SerializeAction::$sortAvailable to $sortFields
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
<?php namespace Flarum\Api\Actions\Posts;
|
||||
|
||||
use Flarum\Core\Models\User;
|
||||
use Flarum\Api\JsonApiRequest;
|
||||
|
||||
trait GetsPosts
|
||||
|
Reference in New Issue
Block a user