Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
use Flarum\Extend;

return [
(new Extend\Frontend('forum'))->js(__DIR__ . '/js/dist/forum.js')->css(__DIR__ . '/less/forum.less'),
(new Extend\Frontend('admin'))->js(__DIR__ . '/js/dist/admin.js'),
(new Extend\Frontend('forum'))->js(__DIR__.'/js/dist/forum.js')->css(__DIR__.'/less/forum.less'),
(new Extend\Frontend('admin'))->js(__DIR__.'/js/dist/admin.js'),

new Extend\Locales(__DIR__ . '/locale'),
new Extend\Locales(__DIR__.'/locale'),

(new Extend\ApiController(ShowForumController::class))->prepareDataForSerialization(LoadForumTagsRelationship::class),

(new Extend\Settings())->serializeToForum('my-tags.enable-placeholder', 'acpl-my-tags.enable-placeholder', function ($value) {
return !empty($value) && $value;
return ! empty($value) && $value;
}),
];
2 changes: 1 addition & 1 deletion src/LoadForumTagsRelationship.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class LoadForumTagsRelationship
{
/**
* Load tags that a user is following
* Load tags that a user is following.
* @param ShowForumController $controller
* @param $data
* @param ServerRequestInterface $request
Expand Down