Fix asset publishing.

This commit is contained in:
Toby Zerner 2014-12-20 21:06:38 +10:30
parent 03af6b6a3a
commit 446ebf4731

View File

@ -35,7 +35,8 @@ class WebServiceProvider extends ServiceProvider {
// publish assets in dev environment
$publisher = new AssetPublisher($this->app['files'], $this->app['path.public']);
$publisher->publishPackage('flarum/core', $this->app['path.base'].'/workbench');
$publisher->setPackagePath(base_path().'/vendor');
$publisher->publishPackage('flarum/core');
include __DIR__.'/../../routes.php';
}