1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 21:20:24 +02:00

Define assets in a more appropriate spot, make extensible

This commit is contained in:
Toby Zerner
2015-05-02 08:10:06 +09:30
parent c3aecbceaa
commit a2fd60ed0c
5 changed files with 31 additions and 26 deletions

View File

@@ -2,7 +2,6 @@
use Illuminate\Support\ServiceProvider;
use Flarum\Support\AssetManager;
use Flarum\Forum\Events\BootForum;
class ForumServiceProvider extends ServiceProvider
{
@@ -17,15 +16,6 @@ class ForumServiceProvider extends ServiceProvider
$this->loadViewsFrom($root.'/views', 'flarum.forum');
$assetManager = $this->app['flarum.forum.assetManager'];
$assetManager->addFile([
$root.'/js/forum/dist/app.js',
$root.'/less/forum/app.less'
]);
event(new BootForum($this->app));
$this->publishes([
$root.'/public/fonts' => public_path('flarum/fonts')
]);