Skip to content

Commit

Permalink
fixing a small problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Dem13n committed Feb 1, 2021
1 parent 49e0fa4 commit d4045b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extend.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
<?php

use Flarum\Extend;
use Flarum\Api\Controller\ShowDiscussionController;

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

(new Extend\ApiController(ShowDiscussionController::class))
->addInclude('user'),

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

0 comments on commit d4045b6

Please sign in to comment.