1
0
mirror of https://github.com/flarum/core.git synced 2025-08-05 07:57:46 +02:00

Use new Frontend extender

See flarum/core#851.
This commit is contained in:
Franz Liedke
2018-07-23 16:26:47 +02:00
parent 1af5d351c4
commit cb373836a4

View File

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