Use new Frontend extender

See flarum/core#851.
This commit is contained in:
Franz Liedke 2018-07-23 16:28:46 +02:00
parent 1132bf653c
commit 7526b70cf5

View File

@ -14,11 +14,11 @@ use Flarum\Likes\Listener;
use Illuminate\Contracts\Events\Dispatcher;
return [
(new Extend\Assets('forum'))
(new Extend\Frontend('forum'))
->js(__DIR__.'/js/dist/forum.js')
->asset(__DIR__.'/less/forum.less'),
->css(__DIR__.'/less/forum.less'),
(new Extend\Assets('admin'))
(new Extend\Frontend('admin'))
->js(__DIR__.'/js/dist/admin.js'),
function (Dispatcher $events) {