mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 11:34:03 +00:00
Fix global_asset_helper_returns_the_same_url_regardless_of_tenancy_initialization
This commit is contained in:
parent
3c076b8a46
commit
a2c6963e85
1 changed files with 2 additions and 0 deletions
|
|
@ -44,6 +44,8 @@ class TenancyServiceProvider extends ServiceProvider
|
|||
$this->app->singleton('globalUrl', function ($app) {
|
||||
$instance = clone $app['url'];
|
||||
$instance->setAssetRoot($app[FilesystemTenancyBootstrapper::class]->originalPaths['asset_url']);
|
||||
|
||||
return $instance;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue