mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 05:24:03 +00:00
Fix redirect macro test
This commit is contained in:
parent
75f00a58dd
commit
665d222872
4 changed files with 11 additions and 8 deletions
|
|
@ -24,6 +24,12 @@ class FilesystemTenancyBootstrapper implements TenancyBootstrapper
|
|||
'path' => $this->app->storagePath(),
|
||||
'asset_url' => $this->app['config']['app.asset_url'],
|
||||
];
|
||||
|
||||
$this->app['url']->macro('setAssetRoot', function ($root) {
|
||||
$this->assetRoot = $root;
|
||||
|
||||
return $this;
|
||||
});
|
||||
}
|
||||
|
||||
public function start(Tenant $tenant)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue